Skip to content

Commit ddb5e7b

Browse files
committed
Method References: Fix doDrum call in lambda
1 parent e5a2d1a commit ddb5e7b

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)