[libvirt] [PATCH Rust 2/4] remove duplicated macro

Sahid Orentino Ferdjaoui sahid.ferdjaoui at canonical.com
Wed Jul 17 08:59:31 UTC 2019


Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui at canonical.com>
---
 src/lib.rs | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/lib.rs b/src/lib.rs
index f9ede21..77bf4a9 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -107,10 +107,6 @@ macro_rules! string_to_mut_c_chars {
     ($x:expr) => (::std::ffi::CString::new($x).unwrap().into_raw())
 }
 
-macro_rules! string_to_mut_c_chars {
-    ($x:expr) => (::std::ffi::CString::new($x).unwrap().into_raw())
-}
-
 macro_rules! impl_from {
     // Largely inspired by impl_from! in rust core/num/mod.rs
     ($Small: ty, $Large: ty) => {
-- 
2.17.1




More information about the libvir-list mailing list