Skip to content

Commit

Permalink
Import Result, Ok, and Err by default. Closes #3287
Browse files Browse the repository at this point in the history
  • Loading branch information
brson committed Aug 28, 2012
1 parent cfbc7cb commit 31bbcf0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/libcore/core.rs
Expand Up @@ -8,6 +8,8 @@ import Option = option::Option;
#[cfg(stage0)]
import option = option::Option;

import result::{Result, Ok, Err};

import Path = path2::Path;
import GenericPath = path2::GenericPath;
import WindowsPath = path2::WindowsPath;
Expand All @@ -24,6 +26,7 @@ import to_str::ToStr;

export Path, WindowsPath, PosixPath, GenericPath;
export Option, Some, None, unreachable;
export Result, Ok, Error;
export extensions;
// The following exports are the extension impls for numeric types
export Num, Times, TimesIx;
Expand Down

0 comments on commit 31bbcf0

Please sign in to comment.