From ece4140834586498ff29ed81416255361f2383d2 Mon Sep 17 00:00:00 2001 From: Barrett Ray Date: Sun, 19 Nov 2023 00:09:56 -0600 Subject: [PATCH] fix: Add `use` statements to doctest uhhh that doesn't fail on my computer but. you know github. i forgive you. here you go my friend --- src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 75ca1a4..5cec257 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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));