about summary refs log tree commit diff
path: root/src/libterm/terminfo/mod.rs
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2014-05-13 17:26:41 -0700
committerPatrick Walton <pcwalton@mimiga.net>2014-05-14 18:29:13 -0700
commitded860c0e89e6f33dece7f65bb71419b515314eb (patch)
tree0faf10cc076c3ead5da9ae4c1c252e2fd611e332 /src/libterm/terminfo/mod.rs
parent93499b1eaf74a58ff7de3ac9240afc4796ef57c8 (diff)
downloadrust-ded860c0e89e6f33dece7f65bb71419b515314eb.tar.gz
rust-ded860c0e89e6f33dece7f65bb71419b515314eb.zip
libterm: Remove all uses of `~str` from `libterm`
Diffstat (limited to 'src/libterm/terminfo/mod.rs')
-rw-r--r--src/libterm/terminfo/mod.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libterm/terminfo/mod.rs b/src/libterm/terminfo/mod.rs
index ff01a8406ed..46dd3978531 100644
--- a/src/libterm/terminfo/mod.rs
+++ b/src/libterm/terminfo/mod.rs
@@ -15,13 +15,13 @@ use collections::HashMap;
 /// A parsed terminfo database entry.
 pub struct TermInfo {
     /// Names for the terminal
-    pub names: Vec<~str> ,
+    pub names: Vec<StrBuf> ,
     /// Map of capability name to boolean value
-    pub bools: HashMap<~str, bool>,
+    pub bools: HashMap<StrBuf, bool>,
     /// Map of capability name to numeric value
-    pub numbers: HashMap<~str, u16>,
+    pub numbers: HashMap<StrBuf, u16>,
     /// Map of capability name to raw (unexpanded) string
-    pub strings: HashMap<~str, Vec<u8> >
+    pub strings: HashMap<StrBuf, Vec<u8> >
 }
 
 pub mod searcher;