aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-12-25 12:10:14 +0000
committerMichael Williamson <mike@zwobble.org>2023-12-25 12:10:14 +0000
commitec22ab606ae09307f878ae0b3eab3bac3d726c90 (patch)
tree966bd2525d6020629bb011197a3b39253074081e /examples
parent854545383ef1145223c181127a40a9a2cc2be638 (diff)
Specify explicit type args in example
Diffstat (limited to 'examples')
-rw-r--r--examples/29-generic-structs/src/HelloWorld.shed2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/29-generic-structs/src/HelloWorld.shed b/examples/29-generic-structs/src/HelloWorld.shed
index f3ab1f22..f5a2f013 100644
--- a/examples/29-generic-structs/src/HelloWorld.shed
+++ b/examples/29-generic-structs/src/HelloWorld.shed
@@ -11,5 +11,5 @@ struct Parts[T1, T2](
}
fun getMessageParts() -> Parts[String, String] {
- Parts(.part1 = "hello, ", .part2 = "world\n")
+ Parts[String, String](.part1 = "hello, ", .part2 = "world\n")
}