Skip to content

Commit c73af28

Browse files
faerntesuji
andcommitted
Remove superfluous <> around usize
Co-Authored-By: lzutao <[email protected]>
1 parent b3546c5 commit c73af28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/io/cursor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -939,7 +939,7 @@ mod tests {
939939
#[cfg(target_pointer_width = "32")]
940940
fn vec_seek_and_write_past_usize_max() {
941941
let mut c = Cursor::new(Vec::new());
942-
c.set_position(<usize>::MAX as u64 + 1);
942+
c.set_position(usize::MAX as u64 + 1);
943943
assert!(c.write_all(&[1, 2, 3]).is_err());
944944
}
945945

0 commit comments

Comments
 (0)