diff options
| author | Alfie John <alfiej@fastmail.fm> | 2015-02-03 13:50:52 +0000 |
|---|---|---|
| committer | Alfie John <alfiej@fastmail.fm> | 2015-02-10 22:56:31 +0000 |
| commit | bffbcb5729a2b4cb2ab924e5f0d9ddebe470eebc (patch) | |
| tree | b7cbcf92c12fbf3bdef3491f0542ddea4476667d /src/libcoretest/ptr.rs | |
| parent | bc87efef2cceaec99d30e809cac2b8d22b9e25fc (diff) | |
| download | rust-bffbcb5729a2b4cb2ab924e5f0d9ddebe470eebc.tar.gz rust-bffbcb5729a2b4cb2ab924e5f0d9ddebe470eebc.zip | |
Deprecating i/u suffixes in libcoretest
Diffstat (limited to 'src/libcoretest/ptr.rs')
| -rw-r--r-- | src/libcoretest/ptr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcoretest/ptr.rs b/src/libcoretest/ptr.rs index 2365b907b3f..a54ba7ad29b 100644 --- a/src/libcoretest/ptr.rs +++ b/src/libcoretest/ptr.rs @@ -46,7 +46,7 @@ fn test() { v1[1] == 32001u16 && v1[2] == 0u16)); copy_memory(v1.as_mut_ptr().offset(2), - v0.as_ptr(), 1u); + v0.as_ptr(), 1); assert!((v1[0] == 32002u16 && v1[1] == 32001u16 && v1[2] == 32000u16)); |
