mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-12 10:48:19 -04:00
3e215322e5
Prior to this comment, the `#[spacetimedb(index)]` attribute accepted its arguments like: ```rust \#[spacetimedb(index(btree), name = "NAME", FIELD_NAMES...)] ``` Putting the `NAME` and `FIELD_NAMES` arguments outside of the inner parens was uninutitive. With this commit, the syntax is changed to: ```rust \#[spacetimedb(index(btree, name = "NAME", FIELD_NAMES...))] ```