Skip to content

Commit

Permalink
Rollup merge of #34636 - tshepang:shorten, r=GuillaumeGomez
Browse files Browse the repository at this point in the history
doc: fix and shorten comment
  • Loading branch information
Manishearth authored Jul 4, 2016
2 parents 53f789e + 5efc780 commit 6e2ea59
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/librustc_resolve/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2880,8 +2880,7 @@ impl<'a> Resolver<'a> {
if !msg.is_empty() {
msg = format!(". Did you mean {}?", msg);
} else {
// we check if this a module and if so, we display a help
// message
// we display a help message if this is a module
let name_path = path.segments.iter()
.map(|seg| seg.identifier.name)
.collect::<Vec<_>>();
Expand Down

0 comments on commit 6e2ea59

Please sign in to comment.