Browse Source

Fix doc test (missing import in example)

master
Andreas Linz 5 years ago
parent
commit
eaed7f4ca3
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/lib.rs

+ 3
- 1
src/lib.rs View File

@ -9,11 +9,13 @@
//! like shown in the following example:
//!
//! ```rust
//! use rci::*;
//!
//! let ci = Ci::new();
//! if ci.is_none() {
//! return;
//! } else {
//! println!("I'm running in: {}", ci);
//! println!("I'm running in: {}", ci.unwrap());
//! }
//! ```

Loading…
Cancel
Save