summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-11-24 00:03:29 +0000
committerbors <bors@rust-lang.org>2021-11-24 00:03:29 +0000
commit6856cf868638ffb77eb3fb41c84549be74eeaff0 (patch)
tree5514f2c60d57ea4f0b3dd26c57480d6273ebc605 /src
parent57b1d921a0e0bfb4c67ddbfceb3de742a04dca8b (diff)
parent6bf0857e60687a615eb4fb32e350dd5073ab27b7 (diff)
downloadrust-libc-6856cf868638ffb77eb3fb41c84549be74eeaff0.tar.gz
Auto merge of #2563 - Minoru:bugfix/fix-doc-comment, r=Amanieu
Fix doc comment on FreeBSD `kinfo_proc` Cf. https://github.com/rust-lang/libc/pull/2552#discussion_r754229773
Diffstat (limited to 'src')
-rw-r--r--src/unix/bsd/freebsdlike/freebsd/freebsd11/mod.rs2
-rw-r--r--src/unix/bsd/freebsdlike/freebsd/freebsd12/mod.rs2
-rw-r--r--src/unix/bsd/freebsdlike/freebsd/freebsd13/mod.rs2
-rw-r--r--src/unix/bsd/freebsdlike/freebsd/freebsd14/mod.rs2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/unix/bsd/freebsdlike/freebsd/freebsd11/mod.rs b/src/unix/bsd/freebsdlike/freebsd/freebsd11/mod.rs
index 75819352e8..7b87bfce1d 100644
--- a/src/unix/bsd/freebsdlike/freebsd/freebsd11/mod.rs
+++ b/src/unix/bsd/freebsdlike/freebsd/freebsd11/mod.rs
@@ -185,7 +185,7 @@ s! {
pub ki_jid: ::c_int,
/// Number of threads in total.
pub ki_numthreads: ::c_int,
- // Thread ID.
+ /// Thread ID.
pub ki_tid: ::lwpid_t,
/// Process priority.
pub ki_pri: ::priority,
diff --git a/src/unix/bsd/freebsdlike/freebsd/freebsd12/mod.rs b/src/unix/bsd/freebsdlike/freebsd/freebsd12/mod.rs
index 59d70977a9..cf9929bb15 100644
--- a/src/unix/bsd/freebsdlike/freebsd/freebsd12/mod.rs
+++ b/src/unix/bsd/freebsdlike/freebsd/freebsd12/mod.rs
@@ -194,7 +194,7 @@ s! {
pub ki_jid: ::c_int,
/// Number of threads in total.
pub ki_numthreads: ::c_int,
- // Thread ID.
+ /// Thread ID.
pub ki_tid: ::lwpid_t,
/// Process priority.
pub ki_pri: ::priority,
diff --git a/src/unix/bsd/freebsdlike/freebsd/freebsd13/mod.rs b/src/unix/bsd/freebsdlike/freebsd/freebsd13/mod.rs
index 1c224bba6d..414b33521f 100644
--- a/src/unix/bsd/freebsdlike/freebsd/freebsd13/mod.rs
+++ b/src/unix/bsd/freebsdlike/freebsd/freebsd13/mod.rs
@@ -212,7 +212,7 @@ s! {
pub ki_jid: ::c_int,
/// Number of threads in total.
pub ki_numthreads: ::c_int,
- // Thread ID.
+ /// Thread ID.
pub ki_tid: ::lwpid_t,
/// Process priority.
pub ki_pri: ::priority,
diff --git a/src/unix/bsd/freebsdlike/freebsd/freebsd14/mod.rs b/src/unix/bsd/freebsdlike/freebsd/freebsd14/mod.rs
index 25b012443a..cb03be6b03 100644
--- a/src/unix/bsd/freebsdlike/freebsd/freebsd14/mod.rs
+++ b/src/unix/bsd/freebsdlike/freebsd/freebsd14/mod.rs
@@ -212,7 +212,7 @@ s! {
pub ki_jid: ::c_int,
/// Number of threads in total.
pub ki_numthreads: ::c_int,
- // Thread ID.
+ /// Thread ID.
pub ki_tid: ::lwpid_t,
/// Process priority.
pub ki_pri: ::priority,