Correctly unpack &mut [T] into *mut T and usize

This commit is contained in:
Jakub Konka
2019-05-14 16:52:01 +02:00
committed by Dan Gohman
parent 006198eb92
commit 52eda1498a
7 changed files with 52 additions and 11 deletions

View File

@@ -17,4 +17,4 @@ fn main() {
res
};
assert_eq!(given, expected);
}
}