style: simplify string formatting for readability (#4001)
This commit is contained in:
parent
dbcdb6f1b4
commit
fc6cf89ac0
7 changed files with 18 additions and 17 deletions
|
|
@ -164,7 +164,7 @@ impl XConnection {
|
|||
fn new_xsettings_screen(xcb: &XCBConnection, default_screen: usize) -> Option<xproto::Atom> {
|
||||
// Fetch the _XSETTINGS_S[screen number] atom.
|
||||
let xsettings_screen = xcb
|
||||
.intern_atom(false, format!("_XSETTINGS_S{}", default_screen).as_bytes())
|
||||
.intern_atom(false, format!("_XSETTINGS_S{default_screen}").as_bytes())
|
||||
.ok()?
|
||||
.reply()
|
||||
.ok()?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue