aboutsummaryrefslogtreecommitdiff
path: root/rustables/src/expr/wrapper.rs
diff options
context:
space:
mode:
authorlafleur <lafleur@boum.org>2021-11-07 14:19:37 +0100
committerlafleur <lafleur@boum.org>2021-11-07 14:19:37 +0100
commit1e33e3ab0790d977add329e9686b4b9e5570ba3c (patch)
treeeb55ce7ff42be89be640ce2330e2503349267798 /rustables/src/expr/wrapper.rs
parent55d9bf885e009953a0001062b2b60c21e8322a31 (diff)
call bindgen on build in rustables
Diffstat (limited to 'rustables/src/expr/wrapper.rs')
-rw-r--r--rustables/src/expr/wrapper.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/rustables/src/expr/wrapper.rs b/rustables/src/expr/wrapper.rs
index 5162c21..1bcc520 100644
--- a/rustables/src/expr/wrapper.rs
+++ b/rustables/src/expr/wrapper.rs
@@ -3,10 +3,8 @@ use std::ffi::CString;
use std::fmt::Debug;
use std::rc::Rc;
-use super::DeserializationError;
-use super::Expression;
-use crate::Rule;
-use rustables_sys as sys;
+use super::{DeserializationError, Expression};
+use crate::{sys, Rule};
pub struct ExpressionWrapper {
pub(crate) expr: *const sys::nftnl_expr,