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 17ed914 commit 1176ef6Copy full SHA for 1176ef6
README.md
@@ -35,7 +35,7 @@ pub fn hello_world(name: String) -> String {
35
// Required to register the extension with PHP.
36
#[php_module]
37
pub fn module(module: ModuleBuilder) -> ModuleBuilder {
38
- module
+ module.function(wrap_function!(hello_world))
39
}
40
```
41
0 commit comments