We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3546c5 commit c73af28Copy full SHA for c73af28
src/libstd/io/cursor.rs
@@ -939,7 +939,7 @@ mod tests {
939
#[cfg(target_pointer_width = "32")]
940
fn vec_seek_and_write_past_usize_max() {
941
let mut c = Cursor::new(Vec::new());
942
- c.set_position(<usize>::MAX as u64 + 1);
+ c.set_position(usize::MAX as u64 + 1);
943
assert!(c.write_all(&[1, 2, 3]).is_err());
944
}
945
0 commit comments