Skip to content

Make Descriptor::new const #139

@mxinden

Description

@mxinden

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 ,:

client_rust/src/registry.rs

Lines 437 to 438 in 85033bf

let help = help.into() + ".";

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions