We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
to_string()
1 parent b7af067 commit d4597edCopy full SHA for d4597ed
src/libterm/terminfo/searcher.rs
@@ -102,10 +102,10 @@ fn test_get_dbpath_for_term() {
102
let p = get_dbpath_for_term(t).expect("no terminfo entry found");
103
p.as_str().unwrap().to_string()
104
};
105
- assert!(x("screen") == "/usr/share/terminfo/s/screen".to_string());
+ assert!(x("screen") == "/usr/share/terminfo/s/screen");
106
assert!(get_dbpath_for_term("") == None);
107
setenv("TERMINFO_DIRS", ":");
108
109
unsetenv("TERMINFO_DIRS");
110
}
111
0 commit comments