Fix two small warnings

This commit is contained in:
Andrew Dunham 2013-08-23 17:24:09 -04:00
parent 2c0f9bd354
commit 347943640e
2 changed files with 2 additions and 2 deletions

View File

@ -787,7 +787,7 @@ pub fn uuid_to_str(bh: &mut BenchHarness) {
pub fn parse_str(bh: &mut BenchHarness) { pub fn parse_str(bh: &mut BenchHarness) {
let s = "urn:uuid:F9168C5E-CEB2-4faa-B6BF-329BF39FA1E4"; let s = "urn:uuid:F9168C5E-CEB2-4faa-B6BF-329BF39FA1E4";
do bh.iter { do bh.iter {
let u = Uuid::parse_string(s); Uuid::parse_string(s);
} }
} }
} }

View File

@ -949,7 +949,7 @@ fn WEXITSTATUS(status: i32) -> i32 {
#[cfg(test)] #[cfg(test)]
mod tests { mod tests {
use io; use io;
use libc::{c_int, uintptr_t}; use libc::c_int;
use option::{Option, None, Some}; use option::{Option, None, Some};
use os; use os;
use path::Path; use path::Path;