Import Result, Ok, and Err by default. Closes #3287
This commit is contained in:
parent
cfbc7cbdc7
commit
31bbcf0267
|
@ -8,6 +8,8 @@ import Option = option::Option;
|
||||||
#[cfg(stage0)]
|
#[cfg(stage0)]
|
||||||
import option = option::Option;
|
import option = option::Option;
|
||||||
|
|
||||||
|
import result::{Result, Ok, Err};
|
||||||
|
|
||||||
import Path = path2::Path;
|
import Path = path2::Path;
|
||||||
import GenericPath = path2::GenericPath;
|
import GenericPath = path2::GenericPath;
|
||||||
import WindowsPath = path2::WindowsPath;
|
import WindowsPath = path2::WindowsPath;
|
||||||
|
@ -24,6 +26,7 @@ import to_str::ToStr;
|
||||||
|
|
||||||
export Path, WindowsPath, PosixPath, GenericPath;
|
export Path, WindowsPath, PosixPath, GenericPath;
|
||||||
export Option, Some, None, unreachable;
|
export Option, Some, None, unreachable;
|
||||||
|
export Result, Ok, Error;
|
||||||
export extensions;
|
export extensions;
|
||||||
// The following exports are the extension impls for numeric types
|
// The following exports are the extension impls for numeric types
|
||||||
export Num, Times, TimesIx;
|
export Num, Times, TimesIx;
|
||||||
|
|
Loading…
Reference in New Issue