Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix custom formatter example #3820

Merged
merged 1 commit into from
Jan 19, 2024
Merged

Fix custom formatter example #3820

merged 1 commit into from
Jan 19, 2024

Conversation

frank-weinberg
Copy link
Contributor

Add a return type declaration so the example builds when the formatter is used in a different compilation unit than it's implemented.

closes #3818

Add a return type declaration so the example builds when the formatter is used in a different compilation unit than it's implemented.
@vitaut vitaut merged commit 2eb3632 into fmtlib:master Jan 19, 2024
40 checks passed
@vitaut
Copy link
Contributor

vitaut commented Jan 19, 2024

Thank you!

happymonkey1 pushed a commit to happymonkey1/fmt that referenced this pull request Apr 7, 2024
Add a return type declaration so the example builds when the formatter is used in a different compilation unit than it's implemented.
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.

Documentation: API example for user-defined formatter doesn't compile
2 participants