Skip to content

Commit

Permalink
fixed doc tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cvhammond committed Aug 20, 2023
1 parent 31ba7da commit a62208f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//!
//! # Examples
//! ```
//! use c3d::prelude::*;
//! use c3dio::prelude::*;
//!
//! let c3d = C3d::load("tests/data/short.c3d");
//! assert!(c3d.is_ok());
Expand Down Expand Up @@ -80,9 +80,9 @@ impl fmt::Display for C3dParseError {
/// # Examples
///
/// ```
/// use c3d::prelude::*;
/// use std::path::PathBuf;
/// let c3d = C3d::load(PathBuf::from("tests/data/short.c3d"));
/// use c3dio::prelude::*;
///
/// let c3d = C3d::load("tests/data/short.c3d");
/// assert!(c3d.is_ok());
/// ```
#[derive(Debug)]
Expand Down

0 comments on commit a62208f

Please sign in to comment.