We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e953e46 commit 2e8d9d7Copy full SHA for 2e8d9d7
src/librustc_resolve/lib.rs
@@ -2794,7 +2794,7 @@ impl<'a> Resolver<'a> {
2794
/// A variant of `smart_resolve_path` where you also specify extra
2795
/// information about where the path came from; this extra info is
2796
/// sometimes needed for the lint that recommends rewriting
2797
- /// absoluate paths to `crate`, so that it knows how to frame the
+ /// absolute paths to `crate`, so that it knows how to frame the
2798
/// suggestion. If you are just resolving a path like `foo::bar`
2799
/// that appears...somewhere, though, then you just want
2800
/// `CrateLint::SimplePath`, which is what `smart_resolve_path`
0 commit comments