Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit b3a689e

Browse files
committed
Manual adjustments
1 parent 5490e77 commit b3a689e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/fail/sync/libc_pthread_mutex_destroy_locked.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ fn main() {
99
let mut mutexattr: libc::pthread_mutexattr_t = std::mem::zeroed();
1010
assert_eq!(
1111
libc::pthread_mutexattr_settype(&mut mutexattr as *mut _, libc::PTHREAD_MUTEX_NORMAL),
12-
0
12+
0,
1313
);
1414
let mut mutex: libc::pthread_mutex_t = std::mem::zeroed();
1515
assert_eq!(libc::pthread_mutex_init(&mut mutex as *mut _, &mutexattr as *const _), 0);

tests/fail/sync/libc_pthread_mutex_normal_deadlock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ fn main() {
99
let mut mutexattr: libc::pthread_mutexattr_t = std::mem::zeroed();
1010
assert_eq!(
1111
libc::pthread_mutexattr_settype(&mut mutexattr as *mut _, libc::PTHREAD_MUTEX_NORMAL),
12-
0
12+
0,
1313
);
1414
let mut mutex: libc::pthread_mutex_t = std::mem::zeroed();
1515
assert_eq!(libc::pthread_mutex_init(&mut mutex as *mut _, &mutexattr as *const _), 0);

tests/fail/sync/libc_pthread_mutex_normal_unlock_unlocked.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ fn main() {
99
let mut mutexattr: libc::pthread_mutexattr_t = std::mem::zeroed();
1010
assert_eq!(
1111
libc::pthread_mutexattr_settype(&mut mutexattr as *mut _, libc::PTHREAD_MUTEX_NORMAL),
12-
0
12+
0,
1313
);
1414
let mut mutex: libc::pthread_mutex_t = std::mem::zeroed();
1515
assert_eq!(libc::pthread_mutex_init(&mut mutex as *mut _, &mutexattr as *const _), 0);

0 commit comments

Comments
 (0)