aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2024-12-19 16:30:47 +0000
committerMichael Williamson <mike@zwobble.org>2024-12-19 16:30:47 +0000
commiteebb509694b6f074ba930dde4eb692307507b4fc (patch)
treed0dc135968ff93cacd726702bfcb819b31ef5b6d /examples
parent4f8135071ae6faf7abfbc2f4765101ce9c0bb287 (diff)
Fix struct definition in example
Diffstat (limited to 'examples')
-rw-r--r--examples/35-struct-methods/src/HelloWorld.shed2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/35-struct-methods/src/HelloWorld.shed b/examples/35-struct-methods/src/HelloWorld.shed
index 2e0ad2bc..cfba064d 100644
--- a/examples/35-struct-methods/src/HelloWorld.shed
+++ b/examples/35-struct-methods/src/HelloWorld.shed
@@ -4,7 +4,7 @@ pub fun main() ! Io -> Unit {
print!(Count(3).message());
}
-struct Count(.value: Int) {
+struct Count(value: Int) {
fun message(this) -> String {
if (this.value == 1) {
"one\n"