From 8b35d958e5a75506f8e988cff738293ee626e3c0 Mon Sep 17 00:00:00 2001 From: Elliot Drees Date: Sun, 27 Jul 2025 11:14:16 -0400 Subject: [PATCH] docs: fix typo for script_bindings --- docs/src/Summary/controlling-script-bindings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/Summary/controlling-script-bindings.md b/docs/src/Summary/controlling-script-bindings.md index 1c16396a6d..802979310a 100644 --- a/docs/src/Summary/controlling-script-bindings.md +++ b/docs/src/Summary/controlling-script-bindings.md @@ -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 !! ///