libcore: Add missing from_str.rs
This commit is contained in:
parent
8f840f9ea0
commit
cd15eac9cf
|
@ -1,3 +1,6 @@
|
||||||
|
use option::Option;
|
||||||
|
|
||||||
trait FromStr {
|
trait FromStr {
|
||||||
static fn from_str(s: &str) -> Option<self>;
|
static fn from_str(s: &str) -> Option<self>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue