1
0
mirror of https://github.com/containers/youki synced 2024-11-23 01:11:58 +01:00

Updated doc comments

This commit is contained in:
Peter Yordanov 2021-06-07 23:36:18 +03:00
parent c2aae315af
commit 0c9f6627f5
2 changed files with 4 additions and 1 deletions

@ -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 })
}