diff --git a/vhost-device-gpu/src/device.rs b/vhost-device-gpu/src/device.rs index 7a17dfb..a77fe2c 100644 --- a/vhost-device-gpu/src/device.rs +++ b/vhost-device-gpu/src/device.rs @@ -1505,7 +1505,7 @@ mod tests { backend.set_gpu_socket(gpu_backend).unwrap(); - // Unfortunately there is no way to crate a VringEpollHandler directly (the ::new is not public) + // Unfortunately, there is no way to create a VringEpollHandler directly (the ::new is not public) // So we create a daemon to create the epoll handler for us here let daemon = VhostUserDaemon::new( "vhost-device-gpu-backend".to_string(), diff --git a/vhost-device-gpu/src/lib.rs b/vhost-device-gpu/src/lib.rs index 60e9d74..05c6c3d 100644 --- a/vhost-device-gpu/src/lib.rs +++ b/vhost-device-gpu/src/lib.rs @@ -23,7 +23,6 @@ clippy::bool_to_int_with_if, clippy::borrow_as_ptr, clippy::case_sensitive_file_extension_comparisons, - clippy::cast_lossless, clippy::cast_ptr_alignment, clippy::naive_bytecount )]