rust-lang / impl-trait-utils

Utilities for working with impl traits in Rust.
Apache License 2.0
89 stars 9 forks source link

Shorten name to trait_variant::make #8

Closed tmandry closed 9 months ago

tmandry commented 9 months ago

I'm not happy at all with the current name, having two underscore and repeating itself. After some discussion in Zulip, this is the one I arrived at. Since the name of the macro doesn't stand on its own, trait_variant::make will the be standard way to invoke it.

Depends on #6 to avoid conflicts.