Skip to content

Commit a07a40e

Browse files
committed
Remove expect now that CompleteErasedLoadedAsset doesn't include a meta field.
1 parent dcbe44d commit a07a40e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

crates/bevy_asset/src/loader.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,6 @@ impl CompleteErasedLoadedAsset {
324324

325325
/// Cast this loaded asset as the given type. If the type does not match,
326326
/// the original type-erased asset is returned.
327-
#[expect(clippy::result_large_err, reason = "Function returns `Self` on error.")]
328327
pub fn downcast<A: Asset>(
329328
mut self,
330329
) -> Result<CompleteLoadedAsset<A>, CompleteErasedLoadedAsset> {

0 commit comments

Comments
 (0)