Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comment description error #6791

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions tokio/src/net/unix/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,26 @@ pub use ucred::UCred;

pub mod pipe;

/// A type representing process and process group IDs.
// /// A type representing process and process group IDs.
// #[allow(non_camel_case_types)]
// pub type uid_t = u32;

// /// A type representing user ID.
// #[allow(non_camel_case_types)]
// pub type gid_t = u32;

// /// A type representing group ID.
// #[allow(non_camel_case_types)]
// pub type pid_t = i32;

Comment on lines +29 to +40
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Is this comment necessary?

/// A type representing user ID.
#[allow(non_camel_case_types)]
pub type uid_t = u32;

/// A type representing user ID.
/// A type representing group ID.
#[allow(non_camel_case_types)]
pub type gid_t = u32;

/// A type representing group ID.
/// A type representing process and process group IDs.
#[allow(non_camel_case_types)]
pub type pid_t = i32;
Loading