Skip to content

Commit

Permalink
fix the example code for get
Browse files Browse the repository at this point in the history
katekyy committed May 22, 2024
1 parent 67759f0 commit 8a70d00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hardcache.gleam
Original file line number Diff line number Diff line change
@@ -304,7 +304,7 @@ pub fn try_get(
/// Ok(cache) ->
/// cache
/// |> hardcache.get("a")
/// Error(e) -> Error(e)
/// Error(_) -> option.None
/// }
/// ```
///

0 comments on commit 8a70d00

Please sign in to comment.