1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

pr: remove unused asref implementations

This commit is contained in:
Terts Diepraam 2021-05-30 00:28:44 +02:00
parent b0bf3e7e0f
commit a54fc7a4ba

View file

@ -91,12 +91,6 @@ struct FileLine {
form_feeds_after: usize, form_feeds_after: usize,
} }
impl AsRef<FileLine> for FileLine {
fn as_ref(&self) -> &FileLine {
self
}
}
struct ColumnModeOptions { struct ColumnModeOptions {
width: usize, width: usize,
columns: usize, columns: usize,
@ -104,12 +98,6 @@ struct ColumnModeOptions {
across_mode: bool, across_mode: bool,
} }
impl AsRef<OutputOptions> for OutputOptions {
fn as_ref(&self) -> &OutputOptions {
self
}
}
struct NumberingMode { struct NumberingMode {
/// Line numbering mode /// Line numbering mode
width: usize, width: usize,