Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/src/Summary/controlling-script-bindings.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Note the `new_unregistered` call instead of `new`, this is because `GlobalNamesp
The above is a bit tedious, so instead you can use the `script_bindings` macro, which applies to impl blocks like so:

```rust,ignore
#[script_bindings("test_fn")]
#[script_bindings(name = "test_fn")]
impl TestStruct {
/// My docs !!
///
Expand Down
Loading