Skip to content

Commit

Permalink
more cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
doy committed Apr 2, 2013
1 parent 660a905 commit 543ad94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/term.rs
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ impl Drop for Writer {
}

struct Reader {
priv escapes: ~Trie<Keypress>,
priv escapes: Trie<Keypress>,
priv buf: ~str,
priv cleanup: bool,
}
Expand Down Expand Up @@ -417,8 +417,8 @@ impl Drop for Reader {
}

// XXX this whole thing needs to be able to deal with caps that don't exist
fn build_escapes_trie () -> ~Trie<Keypress> {
let mut trie = ~Trie();
fn build_escapes_trie () -> Trie<Keypress> {
let mut trie = Trie();

trie.insert(escape("kbs"), KeyBackspace);
trie.insert(escape("cr"), KeyReturn);
Expand Down

0 comments on commit 543ad94

Please sign in to comment.