From 10f95956a6c4e36f00a1749434c5a87933d95bb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Fri, 26 Jan 2024 14:55:36 +0100 Subject: [PATCH] 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 --- crates/bevy_asset/src/io/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,