Fix a copy-paste typo doc (#13004)

trivial, new doc copied from
https://github.com/bevyengine/bevy/blob/main/crates/bevy_asset/src/io/mod.rs#L138
This commit is contained in:
vero 2024-04-16 20:11:56 -07:00 committed by GitHub
parent cae07ef56a
commit cab1c5702a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -99,7 +99,7 @@ pub trait AssetReader: Send + Sync + 'static {
&'a self,
path: &'a Path,
) -> impl ConditionalSendFuture<Output = Result<Box<PathStream>, 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,