rust-lang / rust-lang/rfcs

OS specific newline separator constant or function for 1.0?

Open
#1,092 14 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

T-libs
Dominant language
Markdown
Stars
6.6k
Forks
1.7k
Avg merge
16h 14m
Merged PRs (30d)
1

Description

Would it be possible to add something akin to Python's os.linesep for the 1.0 release? Perhaps it is already in the language but I could not find it. I understand that may be because it was intentionally omitted but I just wanted to make sure.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the issue discussion and the linked Python os.linesep reference first. Determine whether the proposed OS-specific newline constant or function has a defined Rust 1.0 scope; done would require an agreed API direction and resolution of the proposal.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.