Skip to content

Commit d6d95a7

Browse files
Dorinda Basseystefano-garzarella
authored andcommitted
vhost-device-gpu: fix typo in comment and code
correct typo in comment in device.rs and typo in lib.rs Signed-off-by: Dorinda Bassey <[email protected]>
1 parent 066c4f7 commit d6d95a7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

vhost-device-gpu/src/device.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1505,7 +1505,7 @@ mod tests {
15051505

15061506
backend.set_gpu_socket(gpu_backend).unwrap();
15071507

1508-
// Unfortunately there is no way to crate a VringEpollHandler directly (the ::new is not public)
1508+
// Unfortunately, there is no way to create a VringEpollHandler directly (the ::new is not public)
15091509
// So we create a daemon to create the epoll handler for us here
15101510
let daemon = VhostUserDaemon::new(
15111511
"vhost-device-gpu-backend".to_string(),

vhost-device-gpu/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
clippy::bool_to_int_with_if,
2424
clippy::borrow_as_ptr,
2525
clippy::case_sensitive_file_extension_comparisons,
26-
clippy::cast_lossless,
2726
clippy::cast_ptr_alignment,
2827
clippy::naive_bytecount
2928
)]

0 commit comments

Comments
 (0)