Skip to content

Commit

Permalink
Fix issue in example of live_cells::none().
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-gutev committed May 9, 2024
1 parent 89cfce3 commit c93e6ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/2-expressions.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ auto b = live_cells::computed([=] {
});

auto watcher = live_cells::watch([=] {
std::cout << b.value() << std::endl; // Prints 6
std::cout << b() << std::endl;
});

a = 6; // Prints 6
Expand Down

0 comments on commit c93e6ab

Please sign in to comment.