Skip to content

Commit 9528e6a

Browse files
Method References: Fix doDrum call in lambda (#115)
Co-authored-by: Ethan McCue <[email protected]>
1 parent c19fed3 commit 9528e6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lambdas/method_references.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Main {
1717
}
1818

1919
void main() {
20-
Drummer drummer = () -> drum();
20+
Drummer drummer = () -> doDrum();
2121
drummer.drum();
2222
}
2323
}

0 commit comments

Comments
 (0)