Skip to content

Commit 5fff3bc

Browse files
committed
Fix doc error
1 parent f066712 commit 5fff3bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_reflect/src/utility.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ use std::any::{Any, TypeId};
2727
/// fn type_info() -> &'static TypeInfo {
2828
/// static CELL: NonGenericTypeInfoCell = NonGenericTypeInfoCell::new();
2929
/// CELL.get_or_set(|| {
30-
/// let fields = [NamedField::new::<i32, _>("bar")];
30+
/// let fields = [NamedField::new::<i32>("bar")];
3131
/// let info = StructInfo::new::<Self>("Foo", &fields);
3232
/// TypeInfo::Struct(info)
3333
/// })

0 commit comments

Comments
 (0)