1
Fork 0

Remove dead codes

This commit is contained in:
Kiet Tran 2013-12-08 02:55:28 -05:00
parent c06dd0e0af
commit 1755408d1a
67 changed files with 150 additions and 1130 deletions

View file

@ -192,10 +192,6 @@ pub fn opt_str2(maybestr: Option<~str>) -> ~str {
match maybestr { None => ~"(none)", Some(s) => { s } }
}
pub fn str_opt(maybestr: ~str) -> Option<~str> {
if maybestr != ~"(none)" { Some(maybestr) } else { None }
}
pub fn str_mode(s: ~str) -> mode {
match s {
~"compile-fail" => mode_compile_fail,