remove redundant returns (clippy::needless_return)
This commit is contained in:
parent
951a3661ad
commit
ad00e91887
84 changed files with 142 additions and 170 deletions
|
@ -28,7 +28,7 @@ pub fn lock() -> impl Drop {
|
|||
|
||||
unsafe {
|
||||
LOCK.lock();
|
||||
return Guard;
|
||||
Guard
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue