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 f066712 commit 5fff3bcCopy full SHA for 5fff3bc
crates/bevy_reflect/src/utility.rs
@@ -27,7 +27,7 @@ use std::any::{Any, TypeId};
27
/// fn type_info() -> &'static TypeInfo {
28
/// static CELL: NonGenericTypeInfoCell = NonGenericTypeInfoCell::new();
29
/// CELL.get_or_set(|| {
30
-/// let fields = [NamedField::new::<i32, _>("bar")];
+/// let fields = [NamedField::new::<i32>("bar")];
31
/// let info = StructInfo::new::<Self>("Foo", &fields);
32
/// TypeInfo::Struct(info)
33
/// })
0 commit comments