diff --git a/writing-gleam.md b/writing-gleam.md index d9023f66..0c64eb26 100644 --- a/writing-gleam.md +++ b/writing-gleam.md @@ -240,7 +240,7 @@ fn get(name: String) -> Nil { ``` ```gleam // in src/vars/internal.gleam -fn format_pair(name: String, value: String) -> String { +pub fn format_pair(name: String, value: String) -> String { name <> "=" <> value } ```