We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e946120 commit 24a1756Copy full SHA for 24a1756
docs/src/Summary/controlling-script-bindings.md
@@ -63,7 +63,7 @@ Note the `new_unregistered` call instead of `new`, this is because `GlobalNamesp
63
The above is a bit tedious, so instead you can use the `script_bindings` macro, which applies to impl blocks like so:
64
65
```rust,ignore
66
-#[script_bindings("test_fn")]
+#[script_bindings(name = "test_fn")]
67
impl TestStruct {
68
/// My docs !!
69
///
0 commit comments