From cd15eac9cf479feadffc546c05289f071601978a Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Mon, 3 Sep 2012 15:59:37 -0700 Subject: [PATCH] libcore: Add missing from_str.rs --- src/libcore/from_str.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libcore/from_str.rs b/src/libcore/from_str.rs index ed22846dca8..f14061633d4 100644 --- a/src/libcore/from_str.rs +++ b/src/libcore/from_str.rs @@ -1,3 +1,6 @@ +use option::Option; + trait FromStr { static fn from_str(s: &str) -> Option; } +