about summary refs log tree commit diff
diff options
context:
space:
mode:
authorarielb1 <arielb1@mail.tau.ac.il>2015-06-19 17:10:26 +0300
committerarielb1 <arielb1@mail.tau.ac.il>2015-06-19 17:10:26 +0300
commit51336064b1c640db9bb4e84a6f9b29b2d0a301f0 (patch)
treef0af67eccd20c75b99f15ea1a0985b0a2aa2f313
parentea7637ebc0e5d325ccf0537a8013316c2ed78108 (diff)
downloadrust-51336064b1c640db9bb4e84a6f9b29b2d0a301f0.tar.gz
rust-51336064b1c640db9bb4e84a6f9b29b2d0a301f0.zip
address review comments
-rw-r--r--src/test/run-pass/cast-rfc0401.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/cast-rfc0401.rs b/src/test/run-pass/cast-rfc0401.rs
index efbf265bd80..5b6f6ccc627 100644
--- a/src/test/run-pass/cast-rfc0401.rs
+++ b/src/test/run-pass/cast-rfc0401.rs
@@ -88,7 +88,7 @@ fn main()
     assert_eq!(u as *const u8, p as *const u8);
     assert_eq!(u as *const u16, p as *const u16);
 
-    // ptr-ptr-cast (both vk=Length)
+    // ptr-ptr-cast (Length vtables)
     let mut l : [u8; 2] = [0,1];
     let w: *mut [u16; 2] = &mut l as *mut [u8; 2] as *mut _;
     let w: *mut [u16] = unsafe {&mut *w};
@@ -99,7 +99,7 @@ fn main()
     let l_via_str = unsafe{&*(s as *const [u8])};
     assert_eq!(&l, l_via_str);
 
-    // ptr-ptr-cast (both vk=Length, check length is preserved)
+    // ptr-ptr-cast (Length vtables, check length is preserved)
     let l: [[u8; 3]; 2] = [[3, 2, 6], [4, 5, 1]];
     let p: *const [[u8; 3]] = &l;
     let p: &[[u8; 2]] = unsafe {&*(p as *const [[u8; 2]])};