Skip to content

Commit

Permalink
fix: Prevent doctests from running on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
rrrodzilla committed Jun 24, 2023
1 parent 393b679 commit 0221e31
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
//!
//! ```toml
//! [dependencies]
//! pathtrim = "0.1.0"
//! pathtrim = "0.2.0"
//! ```
//!
//! And this to your main file:
Expand All @@ -34,7 +34,7 @@
//!
//! ## Basic usage
//!
//! ```
//! ```no_run
//! use std::path::Path;
//! use pathtrim::TrimmablePath;
//!
Expand All @@ -47,7 +47,7 @@
//!
//! Unix:
//!
//! ```
//! ```no_run
//! use std::path::Path;
//! use pathtrim::TrimmablePath;
//! let path = Path::new("/usr/local/bin/application");
Expand All @@ -67,7 +67,7 @@
//!
//! ## Edge Cases
//!
//! ```
//! ```no_run
//! use std::path::Path;
//! use pathtrim::TrimmablePath;
//! let path = Path::new("/");
Expand All @@ -91,7 +91,7 @@ use std::path::{Path, PathBuf};
///
/// # Examples
///
/// ```
/// ```no_run
/// use std::path::Path;
/// use pathtrim::TrimmablePath;
///
Expand All @@ -105,7 +105,7 @@ pub trait TrimmablePath: AsRef<Path> {
///
/// # Examples
///
/// ```
/// ```no_run
/// use std::path::Path;
/// use pathtrim::TrimmablePath;
///
Expand Down

0 comments on commit 0221e31

Please sign in to comment.