Change comment to doc comment

This commit is contained in:
Eric Holk 2022-12-21 17:28:42 -08:00 committed by GitHub
parent bd12d151ee
commit f20f86ec4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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