4 lines
86 B
Text
4 lines
86 B
Text
|
|
let mut buffer = b"abcdef".to_vec();
|
||
|
|
buffer.reverse();
|
||
|
|
assert_eq!(buffer, b"fedcba");
|