diff --git a/virtio-devices/src/seccomp_filters.rs b/virtio-devices/src/seccomp_filters.rs index 482b37ece..6044231bf 100644 --- a/virtio-devices/src/seccomp_filters.rs +++ b/virtio-devices/src/seccomp_filters.rs @@ -34,7 +34,6 @@ pub enum Thread { /// [`SeccompCondition`]: struct.SeccompCondition.html /// [`SeccompRule`]: struct.SeccompRule.html macro_rules! and { - ($($x:expr,)*) => (SeccompRule::new(vec![$($x),*]).unwrap()); ($($x:expr),*) => (SeccompRule::new(vec![$($x),*]).unwrap()) } diff --git a/vmm/src/seccomp_filters.rs b/vmm/src/seccomp_filters.rs index a3cc35ec1..10c290035 100644 --- a/vmm/src/seccomp_filters.rs +++ b/vmm/src/seccomp_filters.rs @@ -24,7 +24,6 @@ pub enum Thread { /// [`SeccompCondition`]: struct.SeccompCondition.html /// [`SeccompRule`]: struct.SeccompRule.html macro_rules! and { - ($($x:expr,)*) => (SeccompRule::new(vec![$($x),*]).unwrap()); ($($x:expr),*) => (SeccompRule::new(vec![$($x),*]).unwrap()) }