Skip to content

Conversation

@c410-f3r
Copy link
Contributor

@c410-f3r c410-f3r commented Dec 9, 2020

Shortcut for

use core::fmt::Write;
let mut v = Self::new();
v.write_fmt(format_args!("Something -> {}", 123)).map_err(|e| CapacityError::new(e))?;

...

Shortcut for

```
use fmt::Write;
let mut v = Self::new();
v.write_fmt(f).map_err(|e| CapacityError::new(e))?;
```
@bluss
Copy link
Owner

bluss commented Dec 10, 2020

Could you add a test for this method?

@c410-f3r
Copy link
Contributor Author

Could you add a test for this method?

Sure!

@bluss bluss merged commit 97c0e74 into bluss:master Dec 10, 2020
@bluss
Copy link
Owner

bluss commented Dec 10, 2020

Thanks

@c410-f3r
Copy link
Contributor Author

Thank you @bluss. You are awesome!

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