diff options
| author | Marvin Löbel <loebel.marvin@gmail.com> | 2013-06-16 11:04:53 +0200 |
|---|---|---|
| committer | Marvin Löbel <loebel.marvin@gmail.com> | 2013-06-17 10:16:13 +0200 |
| commit | c9e7bb7d4a3fa8d33d40eb6ca0e357f4bd7c39ce (patch) | |
| tree | 37e2c34d84e3b305edb4ab3b544b13bd6130555f /src/libstd/to_str.rs | |
| parent | 90b999aea1a4cfdda549c2ba8462d9eac23c681a (diff) | |
| download | rust-c9e7bb7d4a3fa8d33d40eb6ca0e357f4bd7c39ce.tar.gz rust-c9e7bb7d4a3fa8d33d40eb6ca0e357f4bd7c39ce.zip | |
Improved std::ascii
- Fixed tests - Added methods - Renamed casting methods to be shorter closes #7150
Diffstat (limited to 'src/libstd/to_str.rs')
| -rw-r--r-- | src/libstd/to_str.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/to_str.rs b/src/libstd/to_str.rs index bfda92d46a2..46e50b6f76e 100644 --- a/src/libstd/to_str.rs +++ b/src/libstd/to_str.rs @@ -31,7 +31,7 @@ pub trait ToStr { /// Trait for converting a type to a string, consuming it in the process. pub trait ToStrConsume { /// Cosume and convert to a string. - fn to_str_consume(self) -> ~str; + fn into_str(self) -> ~str; } impl ToStr for () { |
