trivial style
This commit is contained in:
parent
28e8f11f91
commit
63acece1a4
@ -161,9 +161,7 @@ pub fn packTo(
|
|||||||
.name_len = name_len,
|
.name_len = name_len,
|
||||||
.gecos_len = gecos_len,
|
.gecos_len = gecos_len,
|
||||||
};
|
};
|
||||||
const innerBytes = mem.asBytes(&inner);
|
try arr.*.appendSlice(mem.asBytes(&inner)[0..@sizeOf(Inner)]);
|
||||||
|
|
||||||
try arr.*.appendSlice(innerBytes[0..@sizeOf(Inner)]);
|
|
||||||
try arr.*.appendSlice(user.home);
|
try arr.*.appendSlice(user.home);
|
||||||
|
|
||||||
if (!inner.name_is_a_suffix)
|
if (!inner.name_is_a_suffix)
|
||||||
|
Loading…
Reference in New Issue
Block a user