diff options
| author | Brendan Zabarauskas <bjzaba@yahoo.com.au> | 2014-02-23 12:29:42 +1100 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-02-24 21:22:26 -0800 |
| commit | 84a8893f19c4cf87355984c8d5fa604a5828161a (patch) | |
| tree | dcfe266d1345a2ac9ed233eee848c6943d497be6 /src/libsyntax | |
| parent | 3cc95314c31311138e189d2ad91bb537d034d3c1 (diff) | |
| download | rust-84a8893f19c4cf87355984c8d5fa604a5828161a.tar.gz rust-84a8893f19c4cf87355984c8d5fa604a5828161a.zip | |
Remove std::from_str::FromStr from the prelude
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/crateid.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libsyntax/crateid.rs b/src/libsyntax/crateid.rs index 2417a6fa1ba..659cd13c94d 100644 --- a/src/libsyntax/crateid.rs +++ b/src/libsyntax/crateid.rs @@ -17,6 +17,9 @@ use std::fmt; /// `1.0`. If no crate name is given after the hash, the name is inferred to /// be the last component of the path. If no version is given, it is inferred /// to be `0.0`. + +use std::from_str::FromStr; + #[deriving(Clone, Eq)] pub struct CrateId { /// A path which represents the codes origin. By convention this is the |
