Skip to content

Commit

Permalink
fix dead code
Browse files Browse the repository at this point in the history
Signed-off-by: yihuaf <yihuaf@unkies.org>
  • Loading branch information
yihuaf committed May 3, 2023
1 parent 4d470ba commit 17537e9
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions crates/libcontainer/src/namespaces.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,6 @@ use std::collections;

type Result<T> = std::result::Result<T, NamespaceError>;

// #[derive(Debug, thiserror::Error)]
// enum UnshareError {
// #[error("syscall failed")]
// SyscallFailed(#[from] SyscallError),
// #[error("nix syscall failed")]
// NixSyscallFailed(#[from] nix::Error),
// }

#[derive(Debug, thiserror::Error)]
pub enum NamespaceError {
#[error("failed to set namespace")]
Expand Down

0 comments on commit 17537e9

Please sign in to comment.