mirror of
https://github.com/htrefil/rkvm.git
synced 2025-01-29 20:34:14 +01:00
Remove redundant literal suffix
This commit is contained in:
parent
f845ecc384
commit
b0ee595ce8
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ impl EventReader {
|
|||
}
|
||||
|
||||
pub async fn read(&mut self) -> Result<input_event, Error> {
|
||||
let mut buffer = [0u8; mem::size_of::<input_event>()];
|
||||
let mut buffer = [0; mem::size_of::<input_event>()];
|
||||
self.file
|
||||
.read_exact(&mut buffer)
|
||||
.await
|
||||
|
|
Loading…
Add table
Reference in a new issue