1
Fork 0

Rebasing changes

This commit is contained in:
Nick Cameron 2014-12-26 11:01:16 +13:00
parent dbde7419cc
commit 4b92a5a229
9 changed files with 30 additions and 39 deletions

View file

@ -448,7 +448,9 @@ static dot_dot_static: &'static [u8] = b"..";
#[cfg(test)]
mod tests {
use super::*;
use prelude::*;
use prelude::Option::{mod, Some, None};
use prelude::{Vec, Clone, AsSlice, SliceExt, CloneSliceExt, IteratorExt};
use prelude::{DoubleEndedIteratorExt, Str, StrExt, ToString, GenericPath};
use str;
macro_rules! t {

View file

@ -1121,8 +1121,10 @@ fn prefix_len(p: Option<PathPrefix>) -> uint {
#[cfg(test)]
mod tests {
use mem;
use super::*;
use prelude::Option::{mod, Some, None};
use prelude::{Vec, Clone, AsSlice, SliceExt, CloneSliceExt, IteratorExt};
use prelude::{DoubleEndedIteratorExt, Str, ToString, GenericPath};
use super::PathPrefix::*;
use super::parse_prefix;