Skip to content

Tracking Issue for MAIN_SEPARATOR_STR #94071

Closed
@SUPERCILEX

Description

@SUPERCILEX

Feature gate: #![feature(main_separator_str)]

This is a tracking issue for adding a static path separator str to match the static char already available.

Public API

pub const MAIN_SEPARATOR: char = '/';
pub const MAIN_SEPARATOR_STR: &str = "/";

Steps / History

Unresolved Questions

Can we combine the char and str API into one type that AsRefs to char, str, u8 etc. as needed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions