Skip to content

Commit

Permalink
Address compiler warning/notice
Browse files Browse the repository at this point in the history
  • Loading branch information
keiravillekode committed Oct 1, 2024
1 parent d8347c2 commit 36b6ae1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion exercises/practice/custom-set/.meta/example.v
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ mut:
items map[T]u8
}

[inline]
@[inline]
fn (s CustomSet[T]) items() []T {
return s.items.keys()
}
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/yacht/.meta/example.v
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 36b6ae1

Please sign in to comment.