LukeMathWalker / pavex

An easy-to-use Rust framework for building robust and performant APIs
https://pavex.dev
Apache License 2.0
1.74k stars 59 forks source link

fix: std's collections can be used as prebuilt types #321

Closed LukeMathWalker closed 3 months ago

LukeMathWalker commented 3 months ago

We make default generic arguments explicit. But there is an issue: Vec<T, alloc::alloc::Global and Vec<T> are the same type, but the former spelling is only allowed on nightly, while the latter works on stable; to avoid the issue, we special-case alloc::alloc::Global.

LukeMathWalker commented 3 months ago

/ok-to-test sha=771e1e9