diff --git a/crates/bevy_asset/src/io/mod.rs b/crates/bevy_asset/src/io/mod.rs index 15632ed4c9..7c9669c67a 100644 --- a/crates/bevy_asset/src/io/mod.rs +++ b/crates/bevy_asset/src/io/mod.rs @@ -78,7 +78,7 @@ pub trait AssetReader: Send + Sync + 'static { &'a self, path: &'a Path, ) -> BoxedFuture<'a, Result, AssetReaderError>>; - /// Returns an iterator of directory entry names at the provided path. + /// Returns true if the provided path points to a directory. fn is_directory<'a>( &'a self, path: &'a Path,