Skip to content

Commit

Permalink
src/ update docstrings printer/ filedecompressor.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
jtmoon79 committed Jun 3, 2024
1 parent 801ab5c commit 6ab5a2a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
3 changes: 3 additions & 0 deletions src/printer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
//! with various text effects (color, underline, etc.)
//! and per-line prepended data (datetime, file name, etc.).
//!
//! [`summary`] module is functions to handle the user passed `--summary`
//! option.
//!
//! [`Sysline`s]: crate::data::sysline::Sysline
//! [`FixedStruct`s]: crate::data::fixedstruct::FixedStruct
//! [`Evtx`s]: crate::data::evtx::Evtx
Expand Down
9 changes: 4 additions & 5 deletions src/printer/summary.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
// summary.rs
// src/printer/summary.rs

#![allow(non_camel_case_types)]
//! CLI option `--summary` printing functions.
//! Only used by `s4.rs`.
/// CLI option `--summary` printing functions
///
/// Only used by `s4.rs`
#![allow(non_camel_case_types)]

use std::collections::{BTreeMap, HashMap};
use std::fmt;
Expand Down
4 changes: 3 additions & 1 deletion src/readers/filedecompressor.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// filedecompressor.rs
// src/readers/filedecompressor.rs

//! The `filedecompressor` module is for decompressing files to temporary files.
use std::borrow::Cow;
use std::io::{BufReader, BufWriter, Error, ErrorKind, Read, Result, Write};
Expand Down

0 comments on commit 6ab5a2a

Please sign in to comment.