Skip to content

Commit 44a0fae

Browse files
committed
Fix Clippy on Solarish, with Rust stable
1 parent 312f460 commit 44a0fae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_sendfile.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ fn test_sendfilev() {
258258
+ &trailer_strings.concat();
259259

260260
// Verify the message that was sent
261-
assert_eq!(bytes_written, expected_string.as_bytes().len());
261+
assert_eq!(bytes_written, expected_string.len());
262262

263263
let mut read_string = String::new();
264264
let bytes_read = rd.read_to_string(&mut read_string).unwrap();

0 commit comments

Comments
 (0)