summaryrefslogtreecommitdiff
path: root/src/vhost_kern/vhost_binding.rs
diff options
context:
space:
mode:
authorKeiichi Watanabe <keiichiw@chromium.org>2021-02-24 21:21:32 +0900
committerJiang Liu <gerry@linux.alibaba.com>2021-03-03 19:33:56 +0800
commit62fd4ec5a47d1b9cd1ea2c8702228ea216b92686 (patch)
treeef9bb7f8b3371f8792c76058d5856cac8bc1cd31 /src/vhost_kern/vhost_binding.rs
parent576694bcfb09e7c78d812ed07dbc5377d283852a (diff)
downloadvmm_vhost-62fd4ec5a47d1b9cd1ea2c8702228ea216b92686.tar.gz
Fix clippy erros and warnings
Make `cargo clippy --all-features --all-targets` pass. Signed-off-by: Keiichi Watanabe <keiichiw@chromium.org>
Diffstat (limited to 'src/vhost_kern/vhost_binding.rs')
-rw-r--r--src/vhost_kern/vhost_binding.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vhost_kern/vhost_binding.rs b/src/vhost_kern/vhost_binding.rs
index fdc5225..57ae698 100644
--- a/src/vhost_kern/vhost_binding.rs
+++ b/src/vhost_kern/vhost_binding.rs
@@ -13,6 +13,7 @@
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![allow(missing_docs)]
+#![allow(clippy::missing_safety_doc)]
use crate::{Error, Result};
use std::os::raw;