Skip to content

docs(concat): example uses lo.Concat, not lo.Flatten#889

Merged
samber merged 1 commit into
samber:masterfrom
c-tonneslan:docs/concat-example-uses-concat
May 23, 2026
Merged

docs(concat): example uses lo.Concat, not lo.Flatten#889
samber merged 1 commit into
samber:masterfrom
c-tonneslan:docs/concat-example-uses-concat

Conversation

@c-tonneslan
Copy link
Copy Markdown
Contributor

Closes #859.

The Concat doc page on lo.samber.dev was showing a lo.Flatten(list1, list2) call under the Concat heading, which is what the screenshot in the issue caught. Fix the example to actually use lo.Concat.

No source change, both helpers already exist.

The Concat doc page on lo.samber.dev currently shows a lo.Flatten call
under the Concat heading, which is what the reporter screenshot in
samber#859 caught. Fix the snippet to actually call lo.Concat.

Closes samber#859

Signed-off-by: Charlie Tonneslan <cst0520@gmail.com>
@samber samber merged commit f389230 into samber:master May 23, 2026
14 of 17 checks passed
@codecov
Copy link
Copy Markdown

codecov Bot commented May 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.55%. Comparing base (4360a8b) to head (5ab5055).
⚠️ Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #889      +/-   ##
==========================================
- Coverage   92.57%   92.55%   -0.02%     
==========================================
  Files          32       32              
  Lines        5067     5067              
==========================================
- Hits         4691     4690       -1     
- Misses        273      274       +1     
  Partials      103      103              
Flag Coverage Δ
unittests 92.55% <ø> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Concat block in docs using lo.Flatten func

2 participants