clippy fix
This commit is contained in:
parent
6cb4d04cef
commit
40e6da5e97
@ -43,7 +43,6 @@ SOFTWARE.
|
|||||||
//! ```rust
|
//! ```rust
|
||||||
//! use tar_no_std::TarArchive;
|
//! use tar_no_std::TarArchive;
|
||||||
//!
|
//!
|
||||||
//! fn main() {
|
|
||||||
//! // log: not mandatory
|
//! // log: not mandatory
|
||||||
//! std::env::set_var("RUST_LOG", "trace");
|
//! std::env::set_var("RUST_LOG", "trace");
|
||||||
//! env_logger::init();
|
//! env_logger::init();
|
||||||
@ -57,7 +56,6 @@ SOFTWARE.
|
|||||||
//! println!("content of last file:");
|
//! println!("content of last file:");
|
||||||
//! let last_file_content = unsafe { core::str::from_utf8_unchecked(entries[2].data()) };
|
//! let last_file_content = unsafe { core::str::from_utf8_unchecked(entries[2].data()) };
|
||||||
//! println!("{:#?}", last_file_content);
|
//! println!("{:#?}", last_file_content);
|
||||||
//! }
|
|
||||||
//! ```
|
//! ```
|
||||||
|
|
||||||
#![cfg_attr(not(test), no_std)]
|
#![cfg_attr(not(test), no_std)]
|
||||||
|
Loading…
Reference in New Issue
Block a user