diff --git a/crates/bevy_asset/src/io/mod.rs b/crates/bevy_asset/src/io/mod.rs index df17c4d6cd..a249d7d061 100644 --- a/crates/bevy_asset/src/io/mod.rs +++ b/crates/bevy_asset/src/io/mod.rs @@ -99,7 +99,7 @@ pub trait AssetReader: Send + Sync + 'static { &'a self, path: &'a Path, ) -> impl ConditionalSendFuture, 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,