Skip to content

Commit

Permalink
Remove unused qualification around OsString
Browse files Browse the repository at this point in the history
Signed-off-by: Uli Schlachter <psychon@znc.in>
  • Loading branch information
psychon committed Mar 17, 2024
1 parent c4ab774 commit 8762832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x11rb-protocol/src/resource_manager/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ impl Database {
}
} else {
// 5. Load `$HOME/.Xdefaults-[hostname]`
let mut file = std::ffi::OsString::from(".Xdefaults-");
let mut file = OsString::from(".Xdefaults-");
file.push(hostname);
let mut path = match var_os("HOME") {
Some(home) => PathBuf::from(home),
Expand Down

0 comments on commit 8762832

Please sign in to comment.