Skip to content

Commit 3720a0d

Browse files
MrGVSVandriyDev
andauthored
Apply suggestions from code review
Co-authored-by: andriyDev <andriydzikh@gmail.com> Co-authored-by: Gino Valente <49806985+MrGVSV@users.noreply.github.com>
1 parent 7174bbc commit 3720a0d

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

crates/bevy_reflect/derive/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ pub fn derive_type_path(input: TokenStream) -> TokenStream {
512512
})
513513
}
514514

515-
/// Derives the `TypePath` trait.
515+
/// Derives the `TypeData` trait.
516516
#[proc_macro_derive(TypeData)]
517517
pub fn derive_type_data(input: TokenStream) -> TokenStream {
518518
let ast = parse_macro_input!(input as DeriveInput);

crates/bevy_reflect/src/type_data.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
//! # use bevy_reflect::TypeData;
1919
//! struct ReflectDebuggable;
2020
//! impl TypeData for ReflectDebuggable {}
21-
//!
2221
//! ```
2322
//!
2423
//! We can then register our type data on any type we want:

0 commit comments

Comments
 (0)