diff options
author | Igor Aleksanov <[email protected]> | 2020-10-24 08:47:23 +0100 |
---|---|---|
committer | Igor Aleksanov <[email protected]> | 2020-10-24 08:47:23 +0100 |
commit | 8d3d509af77756758cea14cc4939d099b4f95993 (patch) | |
tree | a9aa8cccf437facc9e7a300ce688cb727aa2a783 /crates/assists/src/handlers/replace_unwrap_with_match.rs | |
parent | 4105378dc7479a3dbd39a4afb3eba67d083bd7f8 (diff) |
Remove dependency on 'assists' from 'completion' crate
Diffstat (limited to 'crates/assists/src/handlers/replace_unwrap_with_match.rs')
-rw-r--r-- | crates/assists/src/handlers/replace_unwrap_with_match.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/assists/src/handlers/replace_unwrap_with_match.rs b/crates/assists/src/handlers/replace_unwrap_with_match.rs index 4043c219c..f547066f0 100644 --- a/crates/assists/src/handlers/replace_unwrap_with_match.rs +++ b/crates/assists/src/handlers/replace_unwrap_with_match.rs | |||
@@ -10,9 +10,10 @@ use syntax::{ | |||
10 | }; | 10 | }; |
11 | 11 | ||
12 | use crate::{ | 12 | use crate::{ |
13 | utils::{render_snippet, Cursor, TryEnum}, | 13 | utils::{render_snippet, Cursor}, |
14 | AssistContext, AssistId, AssistKind, Assists, | 14 | AssistContext, AssistId, AssistKind, Assists, |
15 | }; | 15 | }; |
16 | use ide_db::ty_filter::TryEnum; | ||
16 | 17 | ||
17 | // Assist: replace_unwrap_with_match | 18 | // Assist: replace_unwrap_with_match |
18 | // | 19 | // |