about summary refs log tree commit diff
path: root/src/libstd/to_str.rs
diff options
context:
space:
mode:
authorMarvin Löbel <loebel.marvin@gmail.com>2013-06-16 11:04:53 +0200
committerMarvin Löbel <loebel.marvin@gmail.com>2013-06-17 10:16:13 +0200
commitc9e7bb7d4a3fa8d33d40eb6ca0e357f4bd7c39ce (patch)
tree37e2c34d84e3b305edb4ab3b544b13bd6130555f /src/libstd/to_str.rs
parent90b999aea1a4cfdda549c2ba8462d9eac23c681a (diff)
downloadrust-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.rs2
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 () {