Skip to content

Commit

Permalink
Cargo test was trying to run the example code.
Browse files Browse the repository at this point in the history
  • Loading branch information
billallen256 committed Nov 1, 2024
1 parent 5b09da9 commit f6b795f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
//! Experimental Rust library for handling X-Midas Bluefiles.
//!
//! ```
//! ```no_run
//! use std::fs::File;
//! use bluefile::read_header;
//!
//! let file = File::open("/path/to/bluefile").unwrap();
//! let header = read_header(&file).unwrap();
//! println!("{}", header.type_code);
//! println!("{}", header.data_type);
//! ...
//! ```
use std::fmt;
Expand Down

0 comments on commit f6b795f

Please sign in to comment.