Skip to content

Commit

Permalink
Fix pattern in example.
Browse files Browse the repository at this point in the history
  • Loading branch information
olson-sean-k committed Sep 12, 2023
1 parent da4ee33 commit 28feef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1122,7 +1122,7 @@ where
///
/// // Do not allow patterns in `name`.
/// let expression = format!("{}{}", "**/", wax::escape(&name));
/// if let glob = Glob::new(&expression) { /* ... */ }
/// if let Ok(glob) = Glob::new(&expression) { /* ... */ }
/// ```
///
/// Sometimes part of a path contains numerous meta-characters. This function
Expand Down

0 comments on commit 28feef4

Please sign in to comment.