Skip to content

Commit

Permalink
Auto merge of #47047 - EdSchouten:rt-unused-import, r=estebank
Browse files Browse the repository at this point in the history
Remove an unused import for cfg(not(feature = "backtrace")).

The 'mem' module is not used for this specific code. This was
copy-pasted in by accident when adding RFC 1937 (? in main) support.
  • Loading branch information
bors committed Dec 28, 2017
2 parents 77e189c + bd812d9 commit b84385b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/libstd/rt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ fn lang_start_internal(main: &(Fn() -> i32 + Sync + ::panic::RefUnwindSafe),
use sys_common;
use sys_common::thread_info;
use thread::Thread;
#[cfg(not(feature = "backtrace"))]
use mem;

sys::init();

Expand Down

0 comments on commit b84385b

Please sign in to comment.