Skip to content

Commit

Permalink
fix: Add use statements to doctest
Browse files Browse the repository at this point in the history
uhhh that doesn't fail on my computer but. you know github. i forgive
you. here you go my friend
  • Loading branch information
onkoe committed Nov 19, 2023
1 parent e4cc40a commit ece4140
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
//! Then, you can use something like this example in your binary...
//!
//! ```no_run
//! use linux_max6675::Max6675;
//! use std::time::Duration;
//!
//! let mut max = Max6675::new("/dev/spidev0.0")?;
//!
//! std::thread::sleep(Duration::from_secs(3));
Expand Down

0 comments on commit ece4140

Please sign in to comment.