about summary refs log tree commit diff
path: root/src/libstd/rt
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-05-06 21:25:36 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-05-07 08:17:32 -0700
commit0d8f5fa618da00653897be2050980c800389be82 (patch)
treed88105c495c8df50a0226e06ea1179bac1126896 /src/libstd/rt
parent4a974413dcce8a5a9f1df3d58503c63b8f5b556a (diff)
downloadrust-0d8f5fa618da00653897be2050980c800389be82.tar.gz
rust-0d8f5fa618da00653897be2050980c800389be82.zip
core: Move Option::expect to libstd from libcore
See #14008 for more details
Diffstat (limited to 'src/libstd/rt')
-rw-r--r--src/libstd/rt/env.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt/env.rs b/src/libstd/rt/env.rs
index 94f56d42613..708c42030ab 100644
--- a/src/libstd/rt/env.rs
+++ b/src/libstd/rt/env.rs
@@ -11,7 +11,7 @@
 //! Runtime environment settings
 
 use from_str::from_str;
-use option::{Some, None};
+use option::{Some, None, Expect};
 use os;
 
 // Note that these are all accessed without any synchronization.