We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcbe44d commit a07a40eCopy full SHA for a07a40e
crates/bevy_asset/src/loader.rs
@@ -324,7 +324,6 @@ impl CompleteErasedLoadedAsset {
324
325
/// Cast this loaded asset as the given type. If the type does not match,
326
/// the original type-erased asset is returned.
327
- #[expect(clippy::result_large_err, reason = "Function returns `Self` on error.")]
328
pub fn downcast<A: Asset>(
329
mut self,
330
) -> Result<CompleteLoadedAsset<A>, CompleteErasedLoadedAsset> {
0 commit comments