mirror of
https://github.com/gitui-org/gitui
synced 2026-05-23 17:08:21 +00:00
fix warnings
This commit is contained in:
parent
632f255548
commit
33de4f3f77
1 changed files with 2 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
use anyhow::Result;
|
||||
#[cfg(target_os = "linux")]
|
||||
use std::ffi::OsStr;
|
||||
use std::io::Write;
|
||||
use std::process::{Command, Stdio};
|
||||
|
|
@ -28,6 +29,7 @@ fn execute_copy_command(command: Command, text: &str) -> Result<()> {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
fn gen_command(
|
||||
path: impl AsRef<OsStr>,
|
||||
xclip_syntax: bool,
|
||||
|
|
|
|||
Loading…
Reference in a new issue