8f367ebfeb
str::unsafe::safe_slice -> str::unsafe::slice_bytes_safe_range
11 lines
198 B
Rust
11 lines
198 B
Rust
use std;
|
|
import str::*;
|
|
import uint::*;
|
|
|
|
fn main() unsafe {
|
|
let a: uint = 1u;
|
|
let b: uint = 4u;
|
|
check (le(a, b));
|
|
log(debug, str::unsafe::slice_bytes_safe_range("kitties", a, b));
|
|
}
|