aboutsummaryrefslogtreecommitdiffstats
path: root/src/commands.rs
diff options
context:
space:
mode:
authordivens <divens@users.noreply.github.com>2026-02-18 13:56:47 +0100
committerGitHub <noreply@github.com>2026-02-18 13:56:47 +0100
commit9d9af7a3a4dde53abb7fb5d73f63517c14856909 (patch)
tree5d186ae5c6c4240690e64573ee46028454f63c29 /src/commands.rs
parentdocs(changelog): add timeout pr (diff)
downloadsl0ppij-9d9af7a3a4dde53abb7fb5d73f63517c14856909.tar.gz
sl0ppij-9d9af7a3a4dde53abb7fb5d73f63517c14856909.tar.xz
sl0ppij-9d9af7a3a4dde53abb7fb5d73f63517c14856909.zip
refactor: replace nix::Error with std::io::Error in public APIs (#4720)
Co-authored-by: divens <divens.dev@gmail.com>
Diffstat (limited to '')
-rw-r--r--src/commands.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/commands.rs b/src/commands.rs
index e1c4bbc8..7388297b 100644
--- a/src/commands.rs
+++ b/src/commands.rs
@@ -5,7 +5,6 @@ use std::{fs::File, io::prelude::*, path::PathBuf, process, time::Duration};
#[cfg(feature = "web_server_capability")]
use isahc::{config::RedirectPolicy, prelude::*, HttpClient, Request};
-use nix;
use zellij_client::{
old_config_converter::{
config_yaml_to_config_kdl, convert_old_yaml_files, layout_yaml_to_layout_kdl,
@@ -147,7 +146,7 @@ pub(crate) fn delete_session(target_session: &Option<String>, force: bool) {
}
fn get_os_input<OsInputOutput>(
- fn_get_os_input: fn() -> Result<OsInputOutput, nix::Error>,
+ fn_get_os_input: fn() -> Result<OsInputOutput, std::io::Error>,
) -> OsInputOutput {
match fn_get_os_input() {
Ok(os_input) => os_input,