]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/vec_resize_to_zero.rs
Addition `manual_map` test for `unsafe` blocks
[rust.git] / tests / ui / vec_resize_to_zero.rs
index 0263e2f5f20c113920111ee6b41e62f89a1944ed..7ed27439ec6e4432372224dd696d485024918b96 100644 (file)
@@ -7,7 +7,7 @@ fn main() {
     // not applicable
     vec![1, 2, 3, 4, 5].resize(2, 5);
 
-    // applicable here, but only implemented for integer litterals for now
+    // applicable here, but only implemented for integer literals for now
     vec!["foo", "bar", "baz"].resize(0, "bar");
 
     // not applicable