Skip to content

Commit

Permalink
Merge pull request #54 from puppetmaster-/patch-1
Browse files Browse the repository at this point in the history
fix get_dir_content2 example
  • Loading branch information
webdesus committed Jun 4, 2022
2 parents d4529d7 + 6a786a0 commit 5fccd17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -691,9 +691,9 @@ where
/// # Examples
/// ```rust,ignore
/// extern crate fs_extra;
/// use fs_extra::dir::get_dir_content2;
/// use fs_extra::dir::{DirOptions, get_dir_content2};
///
/// let options = DirOptions::new();
/// let mut options = DirOptions::new();
/// options.depth = 3; // Get 3 levels of folder.
/// let dir_content = get_dir_content2("dir", &options)?;
/// for directory in dir_content.directories {
Expand Down

0 comments on commit 5fccd17

Please sign in to comment.