libfmt_macros: remove unnecessary as_slice() calls
This commit is contained in:
parent
0f54f32a9c
commit
a7960136ac
1 changed files with 1 additions and 1 deletions
|
|
@ -440,7 +440,7 @@ mod tests {
|
|||
|
||||
fn same(fmt: &'static str, p: &[Piece<'static>]) {
|
||||
let mut parser = Parser::new(fmt);
|
||||
assert!(p == parser.collect::<Vec<Piece<'static>>>().as_slice());
|
||||
assert!(p == parser.collect::<Vec<Piece<'static>>>());
|
||||
}
|
||||
|
||||
fn fmtdflt() -> FormatSpec<'static> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue