Skip to content

Commit 10f9595

Browse files
esensarKanabenki
andauthored
Fix documentation for AssetReader::is_directory function (#11538)
# Objective - Fix documentation for `AssetReader::is_directory` (it is currently exactly the same as docs for `read_directory`) --------- Co-authored-by: Kanabenki <lucien.menassol@gmail.com>
1 parent fb367da commit 10f9595

File tree

1 file changed

+1
-1
lines changed
  • crates/bevy_asset/src/io

1 file changed

+1
-1
lines changed

crates/bevy_asset/src/io/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ pub trait AssetReader: Send + Sync + 'static {
7878
&'a self,
7979
path: &'a Path,
8080
) -> BoxedFuture<'a, Result<Box<PathStream>, AssetReaderError>>;
81-
/// Returns an iterator of directory entry names at the provided path.
81+
/// Returns true if the provided path points to a directory.
8282
fn is_directory<'a>(
8383
&'a self,
8484
path: &'a Path,

0 commit comments

Comments
 (0)