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 2ec9327 commit 2b473abCopy full SHA for 2b473ab
crates/bevy_asset/src/loader.rs
@@ -329,7 +329,6 @@ impl CompleteErasedLoadedAsset {
329
330
/// Cast this loaded asset as the given type. If the type does not match,
331
/// the original type-erased asset is returned.
332
- #[expect(clippy::result_large_err, reason = "Function returns `Self` on error.")]
333
pub fn downcast<A: Asset>(
334
mut self,
335
) -> Result<CompleteLoadedAsset<A>, CompleteErasedLoadedAsset> {
0 commit comments