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:
parent
8d8622d352
commit
622ca0d17b
@ -443,8 +443,7 @@ impl<'a> LoadContext<'a> {
|
|||||||
!self.asset_server.get_handles_untyped(&path).is_empty()
|
!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).
|
/// "Finishes" this context by populating the final [`Asset`] value.
|
||||||
/// The relevant asset metadata collected in this context will be stored in the returned [`LoadedAsset`].
|
|
||||||
pub fn finish<A: Asset>(self, value: A) -> LoadedAsset<A> {
|
pub fn finish<A: Asset>(self, value: A) -> LoadedAsset<A> {
|
||||||
LoadedAsset {
|
LoadedAsset {
|
||||||
value,
|
value,
|
||||||
|
Loading…
Reference in New Issue
Block a user