Skip to content

Commit

Permalink
Update 2023-01-26-hs-bindgen-introduction.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yvan-sraka committed Jan 26, 2023
1 parent 882b911 commit c8dc81d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blog/2023-01-26-hs-bindgen-introduction.md
Expand Up @@ -57,7 +57,7 @@ Let's start with a minimal example: automatically generating bindings allowing H
```rust
use hs_bindgen::*;

#[hs_bindgen(CString -> IO ())]
#[hs_bindgen(greetings :: CString -> IO ())]
fn greetings(name: &str) {
println!("Hello, {name}!");
}
Expand Down

0 comments on commit c8dc81d

Please sign in to comment.