Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
lpil authored and PgBiel committed Apr 26, 2024
1 parent a09b647 commit b008b1c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/gleam/bytes_builder.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
//// On Erlang this type is compatible with Erlang's iolists.

// TODO: pad bit arrays to byte boundaries when adding to a builder.
import gleam/string_builder.{type StringBuilder}
import gleam/bit_array
import gleam/list
import gleam/string_builder.{type StringBuilder}

pub opaque type BytesBuilder {
Bytes(BitArray)
Expand Down
6 changes: 3 additions & 3 deletions src/gleam/dynamic.gleam
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@target(erlang)
import gleam/bit_array
import gleam/dict.{type Dict}
import gleam/int
import gleam/list
import gleam/dict.{type Dict}
import gleam/option.{type Option}
import gleam/result
import gleam/string_builder
@target(erlang)
import gleam/bit_array

/// `Dynamic` data is data that we don't know the type of yet.
/// We likely get data like this from interop with Erlang, or from
Expand Down
4 changes: 2 additions & 2 deletions src/gleam/iterator.gleam
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import gleam/result
import gleam/dict.{type Dict}
import gleam/int
import gleam/list
import gleam/dict.{type Dict}
import gleam/option.{type Option, None, Some}
import gleam/order
import gleam/result

// Internal private representation of an Iterator
type Action(element) {
Expand Down
4 changes: 2 additions & 2 deletions src/gleam/uri.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
import gleam/int
import gleam/list
import gleam/option.{type Option, None, Some}
import gleam/string
import gleam/string_builder.{type StringBuilder}
@target(javascript)
import gleam/pair
@target(nix)
Expand All @@ -24,6 +22,8 @@ import gleam/regex
import gleam/result
@target(nix)
import gleam/result
import gleam/string
import gleam/string_builder.{type StringBuilder}

/// Type representing holding the parsed components of an URI.
/// All components of a URI are optional, except the path.
Expand Down
2 changes: 1 addition & 1 deletion test/gleam/bytes_builder_test.gleam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import gleam/bytes_builder
import gleam/string_builder
import gleam/should
import gleam/string_builder

pub fn builder_test() {
let data =
Expand Down

0 comments on commit b008b1c

Please sign in to comment.