rust-lang / rust-lang/rust

Tracking Issue for Path::absolute

Open
#153,328 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

C-tracking-issue S-tracking-unimplemented T-libs
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

Feature gate: #![feature(path_absolute_method)]

This is a tracking issue for Path::absolute(), a convenience method on Path that delegates to the free function std::path::absolute(). This mirrors the existing pattern of Path::canonicalize() delegating to fs::canonicalize().

Public API
// std::path

impl Path {
    pub fn absolute(&self) -> io::Result<PathBuf>;
}
Steps / History

(Remember to update the S-tracking-* label when checking boxes.)

  • Implementation: #153272
  • Final comment period (FCP)^1
  • Stabilization PR
Unresolved Questions
  • None yet.

Contributor guide

Open the contributing guide

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

Start by reviewing the feature-gated API description and the implementation linked in #153272. Then follow the stabilization guide linked in the issue for the final comment period and stabilization PR. The tracking issue is complete when all checklist items are resolved and its status label is updated.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
developer-experience
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.