Skip to content

Commit 642807a

Browse files
committed
Fix Clippy issue
1 parent 56b6297 commit 642807a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/settings.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ impl Settings {
2121
#[allow(unused)]
2222
pub fn get_mut(&mut self) -> &mut AtomicStorage<[u8; SETTINGS_SIZE]> {
2323
let data = &raw mut DATA;
24-
return unsafe { (*data).get_mut() };
24+
unsafe { (*data).get_mut() }
2525
}
2626

2727
#[inline(never)]
2828
#[allow(unused)]
2929
pub fn get_ref(&mut self) -> &AtomicStorage<[u8; SETTINGS_SIZE]> {
3030
let data = &raw const DATA;
31-
return unsafe { (*data).get_ref() };
31+
unsafe { (*data).get_ref() }
3232
}
3333

3434
#[allow(unused)]

0 commit comments

Comments
 (0)