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)) } ```