pub fn uu_app() -> Command// * This file is part of the uutils coreutils package.
// *
// * (c) Ben Hirsch <benhirsch24@gmail.com>
@@ -659,17 +658,17 @@
use std::cmp;
use std::fmt::Write;
-use crate::byteorder_io::*;
-use crate::formatteriteminfo::*;
+use crate::byteorder_io::ByteOrder;
+use crate::formatteriteminfo::FormatWriter;
use crate::inputdecoder::{InputDecoder, MemoryDecoder};
use crate::inputoffset::{InputOffset, Radix};
-use crate::multifilereader::*;
+use crate::multifilereader::{HasError, InputSource, MultifileReader};
use crate::output_info::OutputInfo;
use crate::parse_formats::{parse_format_flags, ParsedFormatterItemInfo};
use crate::parse_inputs::{parse_inputs, CommandLineInputs};
use crate::parse_nrofbytes::parse_number_of_bytes;
-use crate::partialreader::*;
-use crate::peekreader::*;
+use crate::partialreader::PartialReader;
+use crate::peekreader::{PeekRead, PeekReader};
use crate::prn_char::format_ascii_dump;
use clap::ArgAction;
use clap::{crate_version, parser::ValueSource, Arg, ArgMatches, Command};
@@ -679,10 +678,9 @@
use uucore::{format_usage, help_about, help_section, help_usage, show_error, show_warning};
const PEEK_BUFFER_SIZE: usize = 4; // utf-8 can be 4 bytes
+
const ABOUT: &str = help_about!("od.md");
-
const USAGE: &str = help_usage!("od.md");
-
const AFTER_HELP: &str = help_section!("after help", "od.md");
pub(crate) mod options {
@@ -1091,7 +1089,7 @@
)
}
-/// Loops through the input line by line, calling print_bytes to take care of the output.
+/// Loops through the input line by line, calling `print_bytes` to take care of the output.
fn odfunc<I>(
input_offset: &mut InputOffset,
input_decoder: &mut InputDecoder<I>,
diff --git a/dev/src/uu_od/output_info.rs.html b/dev/src/uu_od/output_info.rs.html
index 4d82f1a3f..73f076b05 100644
--- a/dev/src/uu_od/output_info.rs.html
+++ b/dev/src/uu_od/output_info.rs.html
@@ -586,7 +586,7 @@
/// ```
///
/// This algorithm assumes the size of all types is a power of 2 (1, 2, 4, 8, 16, ...)
- /// Increase MAX_BYTES_PER_UNIT to allow larger types.
+ /// Increase `MAX_BYTES_PER_UNIT` to allow larger types.
fn calculate_alignment(
sf: &dyn TypeSizeInfo,
byte_size_block: usize,
diff --git a/dev/src/uu_od/parse_inputs.rs.html b/dev/src/uu_od/parse_inputs.rs.html
index acae58ba5..32a33e1ce 100644
--- a/dev/src/uu_od/parse_inputs.rs.html
+++ b/dev/src/uu_od/parse_inputs.rs.html
@@ -459,8 +459,8 @@
/// interprets inputs when --traditional is on the command line
///
-/// normally returns CommandLineInputs::FileAndOffset, but if no offset is found,
-/// it returns CommandLineInputs::FileNames (also to differentiate from the offset == 0)
+/// normally returns `CommandLineInputs::FileAndOffset`, but if no offset is found,
+/// it returns `CommandLineInputs::FileNames` (also to differentiate from the offset == 0)
pub fn parse_inputs_traditional(input_strings: &[&str]) -> Result<CommandLineInputs, String> {
match input_strings.len() {
0 => Ok(CommandLineInputs::FileNames(vec!["-".to_string()])),
diff --git a/dev/src/uu_od/prn_char.rs.html b/dev/src/uu_od/prn_char.rs.html
index 9dae5957b..2e16f28e0 100644
--- a/dev/src/uu_od/prn_char.rs.html
+++ b/dev/src/uu_od/prn_char.rs.html
@@ -155,7 +155,7 @@
155
use std::str::from_utf8;
-use crate::formatteriteminfo::*;
+use crate::formatteriteminfo::{FormatWriter, FormatterItemInfo};
pub static FORMAT_ITEM_A: FormatterItemInfo = FormatterItemInfo {
byte_size: 1,
diff --git a/dev/src/uu_od/prn_float.rs.html b/dev/src/uu_od/prn_float.rs.html
index 5afe67818..eeab3cb86 100644
--- a/dev/src/uu_od/prn_float.rs.html
+++ b/dev/src/uu_od/prn_float.rs.html
@@ -220,7 +220,7 @@
use std::f64;
use std::num::FpCategory;
-use crate::formatteriteminfo::*;
+use crate::formatteriteminfo::{FormatWriter, FormatterItemInfo};
pub static FORMAT_ITEM_F16: FormatterItemInfo = FormatterItemInfo {
byte_size: 2,
diff --git a/dev/uu_od/fn.uu_app.html b/dev/uu_od/fn.uu_app.html
index 83e1b6170..b65d8bd8f 100644
--- a/dev/uu_od/fn.uu_app.html
+++ b/dev/uu_od/fn.uu_app.html
@@ -1 +1 @@
-uu_app in uu_od - Rust
\ No newline at end of file
+uu_app in uu_od - Rust
\ No newline at end of file
diff --git a/dev/uu_od/fn.uumain.html b/dev/uu_od/fn.uumain.html
index 8418af24f..d72f63129 100644
--- a/dev/uu_od/fn.uumain.html
+++ b/dev/uu_od/fn.uumain.html
@@ -1 +1 @@
-uumain in uu_od - Rust
\ No newline at end of file
+uumain in uu_od - Rust
\ No newline at end of file
diff --git a/dev/uu_od/index.html b/dev/uu_od/index.html
index 7c9a5a243..eb720acd9 100644
--- a/dev/uu_od/index.html
+++ b/dev/uu_od/index.html
@@ -1 +1 @@
-uu_od - Rust
\ No newline at end of file
+uu_od - Rust
\ No newline at end of file