Skip to content

Commit 4d484b4

Browse files
committed
upd
1 parent 411de4c commit 4d484b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/whackds.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ use whack::{components::*, ds};
2929
#[ds::component]
3030
pub fn Component1(
3131
/// To which fixture to bind the contained `Label`.
32-
#[fixture_opt]
32+
#[fixture_option]
3333
bind: UiComponent,
3434
) {
3535
let x = ds::use_state::<f64>(|| 0.0);
@@ -258,7 +258,7 @@ is equivalent to a `whack::ds::Fixture<T>` field, which is either a fixture fixt
258258
A field
259259

260260
```rust
261-
#[fixture_opt]
261+
#[fixture_option]
262262
x: T,
263263
```
264264

0 commit comments

Comments
 (0)