From 297d90822c482a193b3cd9b5e298534334d1e40c Mon Sep 17 00:00:00 2001 From: Alice Cecile Date: Wed, 27 Nov 2024 16:20:47 -0500 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Rich Churcher --- .../14082_AssetReader_read_now_returns_an_opaque_type.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release-content/0.15/migration-guides/14082_AssetReader_read_now_returns_an_opaque_type.md b/release-content/0.15/migration-guides/14082_AssetReader_read_now_returns_an_opaque_type.md index 2b6ede0539..7c07d63a14 100644 --- a/release-content/0.15/migration-guides/14082_AssetReader_read_now_returns_an_opaque_type.md +++ b/release-content/0.15/migration-guides/14082_AssetReader_read_now_returns_an_opaque_type.md @@ -1,4 +1,4 @@ -The trait method `bevy_asset::io::AssetReader::read` (and `read_meta`) now return an opaque type instead of a boxed trait object. Implementors of these methods should change the type signatures appropriately +The trait method `bevy_asset::io::AssetReader::read` (and `read_meta`) now return an opaque type instead of a boxed trait object. Implementors of these methods should change the type signatures appropriately: ```rust impl AssetReader for MyReader { @@ -15,7 +15,7 @@ impl AssetReader for MyReader { } ``` -`bevy::asset::io::Reader` is now a trait, rather than a type alias for a trait object. Implementors of `AssetLoader::load` will need to adjust the method signature accordingly +`bevy::asset::io::Reader` is now a trait, rather than a type alias for a trait object. Implementors of `AssetLoader::load` will need to adjust the method signature accordingly: ```rust impl AssetLoader for MyLoader {