Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
inoas committed Jan 16, 2025
1 parent 8193e91 commit 0ba3119
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),

<!-- ## [Unreleased] -->

## [5.0.2] - 2025-01-16

- Fixed more function doc blocks.

## [5.0.1] - 2025-01-16

- Fix deps constraint in `gleam.toml`.
Expand Down
2 changes: 1 addition & 1 deletion gleam.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name = "given"
version = "5.0.1"
version = "5.0.2"

# Fill out these fields if you intend to generate HTML documentation or publish
# your project to the Hex package manager.
Expand Down
6 changes: 6 additions & 0 deletions src/given.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,9 @@ pub fn all_error(
}
}

/// Checks if the option is `Some` and runs the consequence if it is, else runs
/// the alternative.
///
/// ## Examples
///
/// ```gleam
Expand Down Expand Up @@ -683,6 +686,9 @@ pub fn all_some(
}
}

/// Checks if the option is `None` and runs the consequence if it is, else runs
/// the alternative.
///
/// ## Examples
///
/// ```gleam
Expand Down

0 comments on commit 0ba3119

Please sign in to comment.