Skip to content

Commit

Permalink
add the rest to the doc test
Browse files Browse the repository at this point in the history
  • Loading branch information
jtk18 committed Jan 3, 2022
1 parent d622894 commit fd7eeef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ use std::path::Path;
/// use pathext::PathExt;
///
/// assert!("/some/path".has_component("path"));
/// assert!("/some/path".contains("some"));
/// assert!("/this/and/that/".starts_or_ends_with("/"));
/// ```
pub trait PathExt {
/// Checks if the contained pattern is in the stringified version of the AsRef<Path>
Expand Down

0 comments on commit fd7eeef

Please sign in to comment.