diff options
Diffstat (limited to 'src/libcore/from_str.rs')
| -rw-r--r-- | src/libcore/from_str.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/from_str.rs b/src/libcore/from_str.rs index b9bd322a816..c4dd2536e2c 100644 --- a/src/libcore/from_str.rs +++ b/src/libcore/from_str.rs @@ -6,7 +6,7 @@ use option::Option; -trait FromStr { +pub trait FromStr { static fn from_str(s: &str) -> Option<self>; } |
