Skip to content

Commit ec0c286

Browse files
committed
upd
1 parent 80465cf commit ec0c286

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
@@ -26,7 +26,7 @@ x: f64,
2626
```rust
2727
use whack::{components::*, ds};
2828

29-
#[ds::comp]
29+
#[ds::component]
3030
pub fn Component1(
3131
/// To which fixture to bind the contained `Label`.
3232
#[fixture_opt]
@@ -150,7 +150,7 @@ bind={|val| {
150150

151151
## Fields
152152

153-
Component fields are the parameters it receives in the `whack::ds::comp` attribute macro.
153+
Component fields are the parameters it receives in the `whack::ds::component` attribute macro.
154154

155155
### String
156156

0 commit comments

Comments
 (0)