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 68681e4 commit 1deada0Copy full SHA for 1deada0
macros/src/buffer.rs
@@ -147,7 +147,7 @@ pub(crate) fn impl_buffer_key_map(ast: DeriveInput) -> Result<TokenStream> {
147
buffer_map_layout(&struct_ident, &field_ident, &field_type, &map_key);
148
149
// FIXME(koonpeng): `create_key` does not allow failure and we can't guarantee that the buffer
150
- // from buffer is valid.
+ // from the buffer map is valid.
151
let gen = quote! {
152
impl ::bevy_impulse::BufferKeyMap for #struct_ident {
153
fn add_accessor(buffers: &::bevy_impulse::BufferMap, accessor: ::bevy_ecs::prelude::Entity, world: &mut ::bevy_ecs::prelude::World) -> ::bevy_impulse::OperationResult {
0 commit comments