Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide-completion/src/context.rs')
| -rw-r--r-- | crates/ide-completion/src/context.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide-completion/src/context.rs b/crates/ide-completion/src/context.rs index 83815f6d5d..d41ca88e89 100644 --- a/crates/ide-completion/src/context.rs +++ b/crates/ide-completion/src/context.rs @@ -109,7 +109,7 @@ pub(crate) struct PathCompletionCtx { } impl PathCompletionCtx { - fn is_trivial_path(&self) -> bool { + pub(super) fn is_trivial_path(&self) -> bool { matches!( self, PathCompletionCtx { |