Skip to content

Unneeded use of feature in fmt.rs #455

@shamatar

Description

@shamatar

Version
1.14

Platform
Anything, it's a compile-time error

Description
Previously formatters (Display/Debug) used allocations for buffer. In 1.14 it's no longer true, but feature-config stayed in the implementation file

#![cfg(feature = "alloc")]
but it's no longer needed. Is there any reason to keep it?

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