mirror of
https://github.com/containers/youki
synced 2024-11-23 01:11:58 +01:00
Updated doc comments
This commit is contained in:
parent
c2aae315af
commit
0c9f6627f5
@ -1,3 +1,5 @@
|
||||
//! Contains a wrapper of syscalls for unit tests
|
||||
|
||||
#[allow(clippy::module_inception)]
|
||||
mod command;
|
||||
pub mod linux;
|
||||
|
@ -14,7 +14,8 @@ pub struct Cond {
|
||||
|
||||
impl Cond {
|
||||
pub fn new() -> Result<Cond> {
|
||||
let (rfd, wfd) = pipe2(OFlag::O_CLOEXEC)?; //Sets as close-on-execution
|
||||
// Sets as close-on-execution
|
||||
let (rfd, wfd) = pipe2(OFlag::O_CLOEXEC)?;
|
||||
Ok(Cond { rfd, wfd })
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user