Skip to content

Commit

Permalink
style: local import
Browse files Browse the repository at this point in the history
  • Loading branch information
KSXGitHub committed Nov 30, 2023
1 parent 5fd7e09 commit 0e60649
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/shell_quoted.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use derive_more::{Display, Into};
use os_display::Quoted;
use std::{ffi::OsStr, fmt::Write};
use std::ffi::OsStr;

#[derive(Debug, Display, Into)]
pub struct ShellQuoted(String);
Expand All @@ -18,6 +18,7 @@ impl ShellQuoted {
}

pub fn push_arg<S: AsRef<str>>(&mut self, arg: S) {
use std::fmt::Write;
if !self.0.is_empty() {
self.0.push(' ');
}
Expand Down

0 comments on commit 0e60649

Please sign in to comment.