Skip to content

Commit 16e150e

Browse files
committed
dereference
1 parent 40179d5 commit 16e150e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

asyncgit/src/sync/hooks.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ mod tests {
9696

9797
let invalid_utf8 = INVALID_UTF8
9898
.into_iter()
99-
.map(|b| b as u16)
99+
.map(|b| *b as u16)
100100
.collect::<Vec<u16>>();
101101

102102
os_string.push(OsString::from_wide(&invalid_utf8));

0 commit comments

Comments
 (0)