Skip to content

Commit

Permalink
Fix error in ignored documentation example.
Browse files Browse the repository at this point in the history
  • Loading branch information
olson-sean-k committed Nov 18, 2023
1 parent e78d7f3 commit 7652712
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,10 +298,10 @@ impl<'t> Pattern<'t> for &'t str {
/// `GlobError` via `?`.
///
/// ```rust,no_run,ignore
/// use std::path::Path;
/// use std::path::PathBuf;
/// use wax::{Glob, GlobError};
///
/// fn read_all(directory: impl AsRef<Path>) -> Result<Vec<u8>, GlobError> {
/// fn read_all(directory: impl Into<PathBuf>) -> Result<Vec<u8>, GlobError> {
/// let mut data = Vec::new();
/// let glob = Glob::new("**/*.data.bin")?;
/// for entry in glob.walk(directory) {
Expand Down

0 comments on commit 7652712

Please sign in to comment.