cargo fix --edition-idioms
This commit is contained in:
parent
2e5f694503
commit
df55817473
|
@ -632,7 +632,7 @@ mod test {
|
|||
#[test]
|
||||
fn parse_command() -> Result<()> {
|
||||
use DiffCommand::*;
|
||||
fn parse(s: &str) -> Result<DiffCommand> {
|
||||
fn parse(s: &str) -> Result<DiffCommand<'_>> {
|
||||
let mut iter = s.lines();
|
||||
let cmd = DiffCommand::from_line_iterator(&mut iter)?;
|
||||
let cmd2 = DiffCommand::from_line_iterator(&mut iter)?;
|
||||
|
|
Loading…
Reference in New Issue