about summary refs log tree commit diff
path: root/src/libcore/from_str.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/from_str.rs')
-rw-r--r--src/libcore/from_str.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/from_str.rs b/src/libcore/from_str.rs
index 166ba2252a9..f3577d66cff 100644
--- a/src/libcore/from_str.rs
+++ b/src/libcore/from_str.rs
@@ -13,5 +13,5 @@
 use option::Option;
 
 pub trait FromStr {
-    static pure fn from_str(s: &str) -> Option<Self>;
+    pure fn from_str(s: &str) -> Option<Self>;
 }