From 11e0a42b36b9bef6976773c08ae895a15754f3b1 Mon Sep 17 00:00:00 2001 From: Gino Valente Date: Fri, 10 May 2024 14:05:11 -0700 Subject: [PATCH] Fix doc tests --- crates/bevy_reflect/src/utility.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/bevy_reflect/src/utility.rs b/crates/bevy_reflect/src/utility.rs index 86dcbbc175462..cb29c13f86f25 100644 --- a/crates/bevy_reflect/src/utility.rs +++ b/crates/bevy_reflect/src/utility.rs @@ -135,7 +135,7 @@ impl Default for NonGenericTypeCell { /// /// struct Foo(T); /// -/// impl Typed for Foo { +/// impl Typed for Foo { /// fn type_info() -> &'static TypeInfo { /// static CELL: GenericTypeInfoCell = GenericTypeInfoCell::new(); /// CELL.get_or_insert::(|| { @@ -149,7 +149,7 @@ impl Default for NonGenericTypeCell { /// # fn type_path() -> &'static str { todo!() } /// # fn short_type_path() -> &'static str { todo!() } /// # } -/// # impl Reflect for Foo { +/// # impl Reflect for Foo { /// # fn get_represented_type_info(&self) -> Option<&'static TypeInfo> { todo!() } /// # fn into_any(self: Box) -> Box { todo!() } /// # fn as_any(&self) -> &dyn Any { todo!() }