about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2018-07-01 21:18:51 +0200
committerGitHub <noreply@github.com>2018-07-01 21:18:51 +0200
commit3e95491be7600bfad69f3830cdf35663ee49f2fd (patch)
treec7888a07423d5fb9aff8732cec4c7b0896f27a72
parentc78bfa33ddc1245936afc873ef150b3aa1fe7c09 (diff)
parent2e8d9d7a25029e7d5c2ea17f156da19073372f1c (diff)
downloadrust-3e95491be7600bfad69f3830cdf35663ee49f2fd.tar.gz
rust-3e95491be7600bfad69f3830cdf35663ee49f2fd.zip
Rollup merge of #51961 - 11Takanori:fix-typo, r=petrochenkov
Fix typo in /src/librustc_resolve/lib.rs

absoluate -> absolute
-rw-r--r--src/librustc_resolve/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_resolve/lib.rs b/src/librustc_resolve/lib.rs
index 9f36f888b58..b8dfd21e540 100644
--- a/src/librustc_resolve/lib.rs
+++ b/src/librustc_resolve/lib.rs
@@ -2794,7 +2794,7 @@ impl<'a> Resolver<'a> {
     /// A variant of `smart_resolve_path` where you also specify extra
     /// information about where the path came from; this extra info is
     /// sometimes needed for the lint that recommends rewriting
-    /// absoluate paths to `crate`, so that it knows how to frame the
+    /// absolute paths to `crate`, so that it knows how to frame the
     /// suggestion. If you are just resolving a path like `foo::bar`
     /// that appears...somewhere, though, then you just want
     /// `CrateLint::SimplePath`, which is what `smart_resolve_path`