diff options
| author | Eric Holk <eric@theincredibleholk.org> | 2022-12-21 17:28:42 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-21 17:28:42 -0800 |
| commit | f20f86ec4e9d7d545cd00e401a77f2268e26553b (patch) | |
| tree | 969bad7ecdded66e64bfd8fa98a4e9e42ee4d348 /compiler/rustc_resolve/src | |
| parent | bd12d151ee63290b317566db770465301e2dd2a9 (diff) | |
| download | rust-f20f86ec4e9d7d545cd00e401a77f2268e26553b.tar.gz rust-f20f86ec4e9d7d545cd00e401a77f2268e26553b.zip | |
Change comment to doc comment
Diffstat (limited to 'compiler/rustc_resolve/src')
| -rw-r--r-- | compiler/rustc_resolve/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/src/lib.rs b/compiler/rustc_resolve/src/lib.rs index 5d0b4c0419f..447a43ca8b2 100644 --- a/compiler/rustc_resolve/src/lib.rs +++ b/compiler/rustc_resolve/src/lib.rs @@ -1686,7 +1686,7 @@ impl<'a> Resolver<'a> { .or_insert_with(|| self.arenas.alloc_name_resolution()) } - // Test if AmbiguityError ambi is any identical to any one inside ambiguity_errors + /// Test if AmbiguityError ambi is any identical to any one inside ambiguity_errors fn matches_previous_ambiguity_error(&mut self, ambi: &AmbiguityError<'_>) -> bool { for ambiguity_error in &self.ambiguity_errors { // if the span location and ident as well as its span are the same |
