Skip to content

Commit 24a1756

Browse files
Ownezxmakspll
andauthored
docs: fix typo for script_bindings (#442)
Co-authored-by: Maksymilian Mozolewski <[email protected]>
1 parent e946120 commit 24a1756

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/Summary/controlling-script-bindings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Note the `new_unregistered` call instead of `new`, this is because `GlobalNamesp
6363
The above is a bit tedious, so instead you can use the `script_bindings` macro, which applies to impl blocks like so:
6464

6565
```rust,ignore
66-
#[script_bindings("test_fn")]
66+
#[script_bindings(name = "test_fn")]
6767
impl TestStruct {
6868
/// My docs !!
6969
///

0 commit comments

Comments
 (0)