Auto merge of #46980 - zackmdavis:and_the_case_of_the_needlessly_parenthesized_arguments, r=petrochenkov
in which the unused-parens lint comes to cover function and method args Resolves #46137.
This commit is contained in:
@@ -311,8 +311,8 @@ pub mod guard {
|
||||
|
||||
#[cfg(target_os = "macos")]
|
||||
pub unsafe fn current() -> Option<usize> {
|
||||
Some((libc::pthread_get_stackaddr_np(libc::pthread_self()) as usize -
|
||||
libc::pthread_get_stacksize_np(libc::pthread_self())))
|
||||
Some(libc::pthread_get_stackaddr_np(libc::pthread_self()) as usize -
|
||||
libc::pthread_get_stacksize_np(libc::pthread_self()))
|
||||
}
|
||||
|
||||
#[cfg(any(target_os = "openbsd", target_os = "bitrig"))]
|
||||
|
||||
Reference in New Issue
Block a user