Fix stale comment on LoadContext::finish. (#16821)

# Objective

- The comment is stale after #15487.

## Solution

- Just delete all the references to the meta field.
This commit is contained in:
andriyDev 2024-12-15 11:18:03 -08:00 committed by GitHub
parent 8d8622d352
commit 622ca0d17b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -443,8 +443,7 @@ impl<'a> LoadContext<'a> {
!self.asset_server.get_handles_untyped(&path).is_empty()
}
/// "Finishes" this context by populating the final [`Asset`] value (and the erased [`AssetMeta`] value, if it exists).
/// The relevant asset metadata collected in this context will be stored in the returned [`LoadedAsset`].
/// "Finishes" this context by populating the final [`Asset`] value.
pub fn finish<A: Asset>(self, value: A) -> LoadedAsset<A> {
LoadedAsset {
value,