libcore: Add missing from_str.rs

This commit is contained in:
Patrick Walton 2012-09-03 15:59:37 -07:00
parent 8f840f9ea0
commit cd15eac9cf
1 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,6 @@
use option::Option;
trait FromStr {
static fn from_str(s: &str) -> Option<self>;
}