From 246da48aaa731cf1466e27846d4ec9c3a7fc04ad Mon Sep 17 00:00:00 2001 From: Joe Hoyle Date: Tue, 29 Jul 2025 11:53:24 -0400 Subject: [PATCH] docs(readme): update example in readme Co-authored-by: Xenira <1288524+Xenira@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f58a60a2d..b3ecc4d5a 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ pub fn hello_world(name: String) -> String { // Required to register the extension with PHP. #[php_module] pub fn module(module: ModuleBuilder) -> ModuleBuilder { - module + module.function(wrap_function!(hello_world)) } ```