Skip to content

Commit afa3d3e

Browse files
authored
Formatting
1 parent 9c0a19c commit afa3d3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mem/x86_64.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ pub unsafe fn compare_bytes(a: *const u8, b: *const u8, n: usize) -> i32 {
173173
c16(a.cast(), b.cast(), n)
174174
}
175175

176-
#[cfg(target_feature="sse2")]
176+
#[cfg(target_feature = "sse2")]
177177
#[inline(always)]
178178
pub unsafe fn c_string_length(s: *const core::ffi::c_char) -> usize {
179179
let mut n: usize;
@@ -259,7 +259,7 @@ pub unsafe fn c_string_length(s: *const core::ffi::c_char) -> usize {
259259

260260
// Provided for scenarios like kernel development, where SSE might not
261261
// be available.
262-
#[cfg(not(target_feature="sse2"))]
262+
#[cfg(not(target_feature = "sse2"))]
263263
#[inline(always)]
264264
pub unsafe fn c_string_length(mut s: *const core::ffi::c_char) -> usize {
265265
let mut n = 0;

0 commit comments

Comments
 (0)