From 36b6ae18ce54f20050a393f5b67cf75d813b3caa Mon Sep 17 00:00:00 2001 From: Eric Willigers Date: Tue, 1 Oct 2024 19:06:33 +1000 Subject: [PATCH] Address compiler warning/notice --- exercises/practice/custom-set/.meta/example.v | 2 +- exercises/practice/yacht/.meta/example.v | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/practice/custom-set/.meta/example.v b/exercises/practice/custom-set/.meta/example.v index 7e924c7..bfb9afe 100644 --- a/exercises/practice/custom-set/.meta/example.v +++ b/exercises/practice/custom-set/.meta/example.v @@ -15,7 +15,7 @@ mut: items map[T]u8 } -[inline] +@[inline] fn (s CustomSet[T]) items() []T { return s.items.keys() } diff --git a/exercises/practice/yacht/.meta/example.v b/exercises/practice/yacht/.meta/example.v index 436ceb8..500fd72 100644 --- a/exercises/practice/yacht/.meta/example.v +++ b/exercises/practice/yacht/.meta/example.v @@ -36,7 +36,7 @@ fn score(category Category, rolls []u8) int { fn score_yacht(rolls []u8) int { unique := arrays.uniq(rolls) - if (unique.len > 1) { + if unique.len > 1 { return 0 } return 50