Skip to content

Commit 5efc780

Browse files
committed
doc: fix and shorten comment
1 parent 375fa6e commit 5efc780

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/librustc_resolve/lib.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -2892,8 +2892,7 @@ impl<'a> Resolver<'a> {
28922892
if !msg.is_empty() {
28932893
msg = format!(". Did you mean {}?", msg);
28942894
} else {
2895-
// we check if this a module and if so, we display a help
2896-
// message
2895+
// we display a help message if this is a module
28972896
let name_path = path.segments.iter()
28982897
.map(|seg| seg.identifier.name)
28992898
.collect::<Vec<_>>();

0 commit comments

Comments
 (0)