about summary refs log tree commit diff
path: root/src/librustc_resolve
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2018-01-22 15:29:34 +0530
committerManish Goregaokar <manishsmail@gmail.com>2018-01-22 15:29:34 +0530
commitdc5475257f02e489f4107b8666dd342a31dff86a (patch)
treefd7b08a564a4ee6f14bd61e43f1057bae1a55d0a /src/librustc_resolve
parent4ced272780321c597df740dd904fac59b0bff608 (diff)
downloadrust-dc5475257f02e489f4107b8666dd342a31dff86a.tar.gz
rust-dc5475257f02e489f4107b8666dd342a31dff86a.zip
Review fixes
Diffstat (limited to 'src/librustc_resolve')
-rw-r--r--src/librustc_resolve/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_resolve/lib.rs b/src/librustc_resolve/lib.rs
index c55e23e917a..55c7e5f3924 100644
--- a/src/librustc_resolve/lib.rs
+++ b/src/librustc_resolve/lib.rs
@@ -67,6 +67,7 @@ use std::cell::{Cell, RefCell};
 use std::cmp;
 use std::collections::BTreeSet;
 use std::fmt;
+use std::iter;
 use std::mem::replace;
 use std::rc::Rc;
 
@@ -1413,8 +1414,7 @@ impl<'a> hir::lowering::Resolver for Resolver<'a> {
     }
 
     fn resolve_str_path(&mut self, span: Span, crate_root: Option<&str>,
-                components: &[&str], is_value: bool) -> hir::Path {
-        use std::iter;
+                        components: &[&str], is_value: bool) -> hir::Path {
         let mut path = hir::Path {
             span,
             def: Def::Err,