y-haidar
y-haidar
Are there plans for this? Would like to use it in constant generics. https://github.com/hyperium/http/blob/bda93204b3da1a776cf471ed39e8e374cec652e7/src/status.rs#L119-L121 Change to this: ```rust pub const fn as_u16(&self) -> u16 { (*self).0.get() } ```
The new matching syntax breaks `path_colon_params` in: https://github.com/tamasfe/aide/blob/7e2d71edf706710ed24241348c689fe89bf7c83a/crates/aide/src/util.rs#L23 This is my, not so good, idea to fix it: ```rust pub fn path_colon_params(s: &str) -> Cow { // if !s.contains(':') {...