Fix two small warnings
This commit is contained in:
parent
2c0f9bd354
commit
347943640e
@ -787,7 +787,7 @@ pub fn uuid_to_str(bh: &mut BenchHarness) {
|
||||
pub fn parse_str(bh: &mut BenchHarness) {
|
||||
let s = "urn:uuid:F9168C5E-CEB2-4faa-B6BF-329BF39FA1E4";
|
||||
do bh.iter {
|
||||
let u = Uuid::parse_string(s);
|
||||
Uuid::parse_string(s);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -949,7 +949,7 @@ fn WEXITSTATUS(status: i32) -> i32 {
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use io;
|
||||
use libc::{c_int, uintptr_t};
|
||||
use libc::c_int;
|
||||
use option::{Option, None, Some};
|
||||
use os;
|
||||
use path::Path;
|
||||
|
Loading…
Reference in New Issue
Block a user