Consider making a `CowModuleBuilder` abstraction
Open
- Dominant language
- Rust
- Stars
- 29
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
> Maybe a nice abstraction here, and to make the `CowSection` constructors nicer per other comment while keeping this code clean too, would be a `CowModuleBuilder`: wrap the `Vec`, and have methods for `add_owned(...)` and `add_borrowed(...)`, and then `into_module()` or somesuch?
_Originally posted by @cfallin in https://github.com/fitzgen/winliner/pull/2#discussion_r1333598093_
Contributor guide
Assessment
This issue has not been assessed yet.