From 85bda33b131ce2c440ec2a33965bbe32626e3c59 Mon Sep 17 00:00:00 2001 From: Zack Sargent <46602241+zsarge@users.noreply.github.com> Date: Fri, 2 Aug 2024 15:05:19 -0400 Subject: [PATCH] fix typo 'a' -> 'e' --- _posts/2024-08-02-supercharged-labels.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/2024-08-02-supercharged-labels.md b/_posts/2024-08-02-supercharged-labels.md index 58ceb305..98288234 100644 --- a/_posts/2024-08-02-supercharged-labels.md +++ b/_posts/2024-08-02-supercharged-labels.md @@ -48,7 +48,7 @@ The shorthand can be used for labelled record fields and in pattern matching too. ```gleam -pub fn get_year(data: Date) -> Year { +pub fn get_year(date: Date) -> Year { let Date(year:, ..) = date year }