mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +00:00
expand: fix formatting issues and cleanup
This commit is contained in:
parent
69d8729598
commit
1bf723fe40
2 changed files with 18 additions and 19 deletions
|
@ -38,7 +38,7 @@ static DEFAULT_TABSTOP: usize = 8;
|
||||||
|
|
||||||
/// The mode to use when replacing tabs beyond the last one specified in
|
/// The mode to use when replacing tabs beyond the last one specified in
|
||||||
/// the `--tabs` argument.
|
/// the `--tabs` argument.
|
||||||
#[derive(PartialEq, Debug)]
|
#[derive(PartialEq)]
|
||||||
enum RemainingMode {
|
enum RemainingMode {
|
||||||
None,
|
None,
|
||||||
Slash,
|
Slash,
|
||||||
|
@ -195,7 +195,6 @@ fn tabstops_parse(s: &str) -> Result<(RemainingMode, Vec<usize>), ParseError> {
|
||||||
Ok((remaining_mode, nums))
|
Ok((remaining_mode, nums))
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug)]
|
|
||||||
struct Options {
|
struct Options {
|
||||||
files: Vec<String>,
|
files: Vec<String>,
|
||||||
tabstops: Vec<usize>,
|
tabstops: Vec<usize>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue