Skip to content

Commit 1deada0

Browse files
committed
comments
Signed-off-by: Teo Koon Peng <[email protected]>
1 parent 68681e4 commit 1deada0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

macros/src/buffer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ pub(crate) fn impl_buffer_key_map(ast: DeriveInput) -> Result<TokenStream> {
147147
buffer_map_layout(&struct_ident, &field_ident, &field_type, &map_key);
148148

149149
// FIXME(koonpeng): `create_key` does not allow failure and we can't guarantee that the buffer
150-
// from buffer is valid.
150+
// from the buffer map is valid.
151151
let gen = quote! {
152152
impl ::bevy_impulse::BufferKeyMap for #struct_ident {
153153
fn add_accessor(buffers: &::bevy_impulse::BufferMap, accessor: ::bevy_ecs::prelude::Entity, world: &mut ::bevy_ecs::prelude::World) -> ::bevy_impulse::OperationResult {

0 commit comments

Comments
 (0)