Skip to content

Commit f6b795f

Browse files
committed
Cargo test was trying to run the example code.
1 parent 5b09da9 commit f6b795f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
//! Experimental Rust library for handling X-Midas Bluefiles.
22
//!
3-
//! ```
3+
//! ```no_run
44
//! use std::fs::File;
55
//! use bluefile::read_header;
66
//!
77
//! let file = File::open("/path/to/bluefile").unwrap();
88
//! let header = read_header(&file).unwrap();
99
//! println!("{}", header.type_code);
1010
//! println!("{}", header.data_type);
11-
//! ...
1211
//! ```
1312
1413
use std::fmt;

0 commit comments

Comments
 (0)