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

Use formatter precision to limit number of lines printed in the allocator breakdown #133

Merged
merged 2 commits into from
Sep 28, 2022

Conversation

EmilioLaiso
Copy link
Contributor

A handy way to limit the number of lines printed by the allocator breakdown using the precision syntax in the calling code.
I.E.: println!("{:.20?}", alloc);

@EmilioLaiso EmilioLaiso merged commit eb63173 into main Sep 28, 2022
@EmilioLaiso EmilioLaiso deleted the use-formatter-precision-to-limit-num-lines branch September 28, 2022 13:57
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.

2 participants