mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-10 06:47:34 +00:00
Fix two small warnings
This commit is contained in:
parent
2c0f9bd354
commit
347943640e
@ -787,7 +787,7 @@ mod bench {
|
||||
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 waitpid(pid: pid_t) -> int {
|
||||
#[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