pull/13865/merge
Nathan Spelts 2025-07-23 23:40:07 +05:00 committed by GitHub
commit 1520c4daf9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -103,9 +103,9 @@ impl Args {
}
}
arg if arg.starts_with('+') => {
match arg[1..].parse::<usize>() {
Ok(n) => line_number = n.saturating_sub(1),
_ => insert_file_with_position(arg),
line_number = match arg[1..].parse::<usize>() {
Ok(n) => n.saturating_sub(1),
_ => usize::MAX,
};
}
arg => insert_file_with_position(arg),