Skip to content

Support formatting into hipstr similar to format! #53

@cgzones

Description

@cgzones

It would be nice to have the ability to format short strings (e.g. numbers) directly into a stack allocated string, e.g.:

let s = hipstr_format!("{:#x}", 42);
assert!(!s.is_allocated());

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions