]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/dst-coercions.rs
cleanup: s/impl Copy/#[derive(Copy)]/g
[rust.git] / src / test / run-pass / dst-coercions.rs
index 1c9d5cd3afe4d6c2a8b997090bd864ec694e9936..dbad546ce1ae3fd1a427b91afa99d06deecaed6f 100644 (file)
@@ -28,7 +28,7 @@ pub fn main() {
 
     let x: *mut S = &mut S;
 
-    // Test we can chnage the mutability from mut to const.
+    // Test we can change the mutability from mut to const.
     let x: &T = &mut S;
     let x: *const T = &mut S;
 }