From fb6cf8713014648e4d965b454cf9f33c8451223b Mon Sep 17 00:00:00 2001 From: sylvestre Date: Sat, 11 Mar 2023 02:41:23 +0000 Subject: [PATCH] deploy: f0e8d44e6e64ee3354f95864c0a25b74cf1c1151 --- dev/src/uu_od/inputdecoder.rs.html | 4 ++-- dev/src/uu_od/od.rs.html | 16 +++++++--------- dev/src/uu_od/output_info.rs.html | 2 +- dev/src/uu_od/parse_inputs.rs.html | 4 ++-- dev/src/uu_od/prn_char.rs.html | 2 +- dev/src/uu_od/prn_float.rs.html | 2 +- dev/uu_od/fn.uu_app.html | 2 +- dev/uu_od/fn.uumain.html | 2 +- dev/uu_od/index.html | 2 +- 9 files changed, 17 insertions(+), 19 deletions(-) diff --git a/dev/src/uu_od/inputdecoder.rs.html b/dev/src/uu_od/inputdecoder.rs.html index d8427c4f0..3b7e71093 100644 --- a/dev/src/uu_od/inputdecoder.rs.html +++ b/dev/src/uu_od/inputdecoder.rs.html @@ -252,7 +252,7 @@ I: PeekRead, { /// calls `peek_read` on the internal stream to (re)fill the buffer. Returns a - /// MemoryDecoder providing access to the result or returns an i/o error. + /// `MemoryDecoder` providing access to the result or returns an i/o error. pub fn peek_read(&mut self) -> io::Result<MemoryDecoder> { match self .input @@ -277,7 +277,7 @@ where I: HasError, { - /// calls has_error on the internal stream. + /// calls `has_error` on the internal stream. fn has_error(&self) -> bool { self.input.has_error() } diff --git a/dev/src/uu_od/od.rs.html b/dev/src/uu_od/od.rs.html index d3b96b331..6c2d12e94 100644 --- a/dev/src/uu_od/od.rs.html +++ b/dev/src/uu_od/od.rs.html @@ -628,7 +628,6 @@ 628 629 630 -631
//  * 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

Function uu_od::uu_app

source ·
pub fn uu_app() -> Command
\ No newline at end of file +uu_app in uu_od - Rust

Function uu_od::uu_app

source ·
pub fn uu_app() -> Command
\ 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

Function uu_od::uumain

source ·
pub fn uumain(args: impl Args) -> i32
\ No newline at end of file +uumain in uu_od - Rust

Function uu_od::uumain

source ·
pub fn uumain(args: impl Args) -> i32
\ 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