Skip to content

Commit

Permalink
fix codeblock indenting
Browse files Browse the repository at this point in the history
  • Loading branch information
knzai committed Aug 7, 2024
1 parent ec59055 commit 1817162
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _posts/2024-08-06-minimal-wasm-bindgen.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ For context, here is the (elided) function I'm going to call.
```rust
#[wasm_bindgen]
pub fn png(data: &[u8]) -> String {
let mut bytes: Vec<u8> = Vec::new();
...stuff
let mut bytes: Vec<u8> = Vec::new();
...stuff
format!("data:application/png;base64,{}", STANDARD.encode(bytes))
}
```
Expand Down

0 comments on commit 1817162

Please sign in to comment.