Consider making `Descriptor::new` `const`. This would be handy when used with `Collector` when passing a borrowed `'static` `Descriptor. As far as I can tell, the only current blocker is the string manipulation to add a `,`: https://github.com/prometheus/client_rust/blob/85033bf06ae0a1ba37f5b925233282276a17a2b4/src/registry.rs#L437-L438
Consider making
Descriptor::newconst. This would be handy when used withCollectorwhen passing a borrowed'static`Descriptor.As far as I can tell, the only current blocker is the string manipulation to add a
,:client_rust/src/registry.rs
Lines 437 to 438 in 85033bf