Skip to content

Commit

Permalink
(docs): Fix string_body example typo: using string_builder_body.
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnBakhmat authored and lpil committed May 19, 2024
1 parent 8f4ae45 commit 754bd38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wisp.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ pub fn string_builder_body(
/// ```gleam
/// let body =
/// response(201)
/// |> string_builder_body("Hello, Joe!")
/// |> string_body("Hello, Joe!")
/// // -> Response(
/// // 201,
/// // [],
Expand Down

0 comments on commit 754bd38

Please sign in to comment.