This commit is contained in:
Alexandre Bury 2016-07-30 15:58:52 -07:00
parent be7f2184e9
commit 191cfcecfd

View File

@ -35,7 +35,7 @@ pub use self::reader::ProgressReader;
/// # }
/// ```
pub fn prefix_length<'a, I>(iter: I, width: usize, delimiter: &str) -> usize
where I: Iterator<Item = &'s str>
where I: Iterator<Item = &'a str>
{
let delimiter_width = delimiter.width();
let delimiter_len = delimiter.len();