diff --git a/src/autoload.rs b/src/autoload.rs index f906897bd..b83a28b79 100644 --- a/src/autoload.rs +++ b/src/autoload.rs @@ -494,12 +494,12 @@ fn test_autoload() { use nix::fcntl::OFlag; macro_rules! run { - ( $fmt:expr $(, $arg:expr )* $(,)? ) => { - let cmd = wcs2zstring(&sprintf!($fmt $(, $arg)*)); - let status = unsafe { libc::system(cmd.as_ptr()) }; - assert!(status == 0); - }; - } + ( $fmt:expr $(, $arg:expr )* $(,)? ) => { + let cmd = wcs2zstring(&sprintf!($fmt $(, $arg)*)); + let status = unsafe { libc::system(cmd.as_ptr()) }; + assert!(status == 0); + }; + } fn touch_file(path: &wstr) { use nix::sys::stat::Mode; diff --git a/src/wchar_ext.rs b/src/wchar_ext.rs index e11ddc174..2b9c1d39c 100644 --- a/src/wchar_ext.rs +++ b/src/wchar_ext.rs @@ -56,12 +56,12 @@ fn to_wstring(&self) -> WString { macro_rules! impl_to_wstring_unsigned { ($($t:ty), *) => { $( - impl ToWString for $t { - fn to_wstring(&self) -> WString { - to_wstring_impl(*self as u64, false) + impl ToWString for $t { + fn to_wstring(&self) -> WString { + to_wstring_impl(*self as u64, false) + } } - } - )* + )* }; }