Skip to content

Commit

Permalink
Fix Body doc for Bytes variant
Browse files Browse the repository at this point in the history
  • Loading branch information
mdarse authored and lpil committed Jul 10, 2024
1 parent b517b98 commit eba47a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wisp.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ pub type Body {
Text(StringBuilder)
/// A body of binary data.
///
/// The body is represented using a `StringBuilder`. If you have a `String`
/// you can use the `string_builder.from_string` function to convert it.
/// The body is represented using a `BytesBuilder`. If you have a `BitArray`
/// you can use the `bytes_builder.from_bit_array` function to convert it.
///
Bytes(BytesBuilder)
/// A body of the contents of a file.
Expand Down

0 comments on commit eba47a5

Please sign in to comment.