maciejhirsz / beef

Faster, more compact implementation of std::borrow::Cow
https://crates.io/crates/beef
Apache License 2.0
338 stars 17 forks source link

Implement Default for Cow #31

Closed grego closed 4 years ago

grego commented 4 years ago

std Cow implements the Default trait, which basically wraps the default version of the borrowed variant. It would be nice to have it also implemented for beef::Cow, to allow using it in the contexts where this trait is required.

maciejhirsz commented 4 years ago

Published as 0.4.4.

pickfire commented 4 years ago

@maciejhirsz I believe you forgot to git tag 0.4.4.

maciejhirsz commented 4 years ago

@pickfire cheers, fixed now.