tcbrindle / flux

A C++20 library for sequence-orientated programming
https://tristanbrindle.com/flux/
Boost Software License 1.0
484 stars 29 forks source link

fix: documentation #170

Closed goto40 closed 7 months ago

goto40 commented 7 months ago

Great CppCon talk!

I found a minor bug in the documentation: the sum(5) yields 40 not 12 - I fixed this and added some comments. Maybe you already fixed this somewhere - in this case just discard this change.

Somehow my auto-formatter also added some spaces (I can rework the PR if you prefer the original formatting).

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (22d87d8) 98.06% compared to head (1f44724) 98.06%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #170 +/- ## ======================================= Coverage 98.06% 98.06% ======================================= Files 69 69 Lines 2426 2426 ======================================= Hits 2379 2379 Misses 47 47 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

tcbrindle commented 7 months ago

Oh dear, that's a bit embarrassing for the first example people see! Thanks for spotting it.