Skip to content

Commit

Permalink
docs: added more clarifications, fixed wording
Browse files Browse the repository at this point in the history
  • Loading branch information
rfdzan committed Apr 21, 2024
1 parent cdee8a8 commit f680a20
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
//! let mut vec_of_bytes = Vec::new();
//! let mut list_of_names = Vec::new();
//!
//! // push the filenames and read bytes into a vector each.
//! // push the filenames and read bytes into a separate vector.
//! for file in std::fs::read_dir(image_dir_path.clone())? {
//! let filepath = file?.path();
//! if filepath.is_file() {
Expand All @@ -63,6 +63,8 @@
//! // this temporary directory is here for doctest purposes,
//! // but you will create your own directory.
//! let tempdir = TempDir::new("compressed")?;
//!
//! // zip list_of_names vector with this iterator.
//! for zipped in Parallel::from_vec(vec_of_bytes)
//! .with_quality(50)
//! .with_device(4)
Expand Down

0 comments on commit f680a20

Please sign in to comment.