Skip to content

std::path and path-related metabug #18720

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
10 tasks
aturon opened this issue Nov 6, 2014 · 4 comments
Closed
10 tasks

std::path and path-related metabug #18720

aturon opened this issue Nov 6, 2014 · 4 comments
Labels
metabug Issues about issues themselves ("bugs about bugs")

Comments

@aturon
Copy link
Member

aturon commented Nov 6, 2014

In prep for 1.0 stabilization, this metabug collects the various known API issues for std::path. These issues need to be triaged.

Semantic problems:

Ergonomics:

Implementation:

  • pub use and GenericPath versus new sys setup

Missing functionality:

@aturon aturon added A-libs metabug Issues about issues themselves ("bugs about bugs") labels Nov 6, 2014
@aturon
Copy link
Member Author

aturon commented Nov 6, 2014

cc @kballard -- I thought this would be a good starting point for discussion.

@alexcrichton
Copy link
Member

Some other ones off the top of my head:

  • There's a lot of *_str() variants, we may want to consolidate these all into on as_str()
  • The as_vec method should probably be as_bytes
  • The Show trait should probably be implemented on Path
  • The BytesContainer trait may need to itself be redesigned, other libstd traits are geared towards one method and this may just want to be geared towards as_bytes()

@aturon
Copy link
Member Author

aturon commented Nov 9, 2014

Update: @kballard and I hammered out a potential new design for the module today, which we hope to file an RFC for in the very near future.

@kmcallister kmcallister added A-io and removed A-io labels Jan 16, 2015
@alexcrichton
Copy link
Member

Closing in favor of #20034

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
metabug Issues about issues themselves ("bugs about bugs")
Projects
None yet
Development

No branches or pull requests

3 participants