Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Mistake in Path documentation #43951

Closed
SynthScore opened this issue Aug 17, 2017 · 1 comment
Closed

Mistake in Path documentation #43951

SynthScore opened this issue Aug 17, 2017 · 1 comment
Labels
A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools

Comments

@SynthScore
Copy link

I hope this is not a duplicate, but the description of the .is_relative() method for the Path struct states the following:

Return false if the Path is relative, i.e. not absolute.

That "false" should become "true". Of course this doesn't really pose any problem since the mistake is pretty obvious, it's just for sake of correctness :)

@frewsxcv frewsxcv added the A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools label Aug 17, 2017
@frewsxcv
Copy link
Member

Looks like this fixed in #43229 which can be seen in the nightly docs: https://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.is_relative

Thanks for reporting though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools
Projects
None yet
Development

No branches or pull requests

2 participants