diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-03-16 15:14:37 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-03-16 15:14:37 -0700 |
| commit | 47d468f08c770485baa61e3a353e83b85ba5037f (patch) | |
| tree | 23db83d10af05b3d6bc1e890a972a668cdbc2bca /src/libstd | |
| parent | ddbd02aaf2804b39762bdbe5e4c6b73b84f139bb (diff) | |
| download | rust-47d468f08c770485baa61e3a353e83b85ba5037f.tar.gz rust-47d468f08c770485baa61e3a353e83b85ba5037f.zip | |
core: Store reexporting result and either. Closes #1997
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/json.rs | 2 | ||||
| -rw-r--r-- | src/libstd/test.rs | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/json.rs b/src/libstd/json.rs index 216c881ab40..8f7765c4e02 100644 --- a/src/libstd/json.rs +++ b/src/libstd/json.rs @@ -3,7 +3,7 @@ #[doc = "json serialization"]; -import result::{ok, err}; +import result::{result, ok, err}; import io; import io::{reader_util, writer_util}; import map; diff --git a/src/libstd/test.rs b/src/libstd/test.rs index cbfad268adb..cb7d1cde0ef 100644 --- a/src/libstd/test.rs +++ b/src/libstd/test.rs @@ -5,6 +5,7 @@ // simplest interface possible for representing and running tests // while providing a base that other test frameworks may build off of. +import either::either; import result::{ok, err}; import io::writer_util; |
