Rollup merge of #51961 - 11Takanori:fix-typo, r=petrochenkov

Fix typo in /src/librustc_resolve/lib.rs

absoluate -> absolute
This commit is contained in:
Pietro Albini 2018-07-01 21:18:51 +02:00 committed by GitHub
commit 3e95491be7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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