-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Ambiguous documentation of line!() and column!() #46997
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
Labels
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
Comments
Songbird0
added a commit
to Songbird0/rust
that referenced
this issue
Mar 8, 2018
In accordance with rust-lang#46997, I've replaced: > The returned line is not the invocation of the line! macro itself [...] By > The returned line is *not necessarily* the line of the `line!` invocation itself [...]
Songbird0
added a commit
to Songbird0/rust
that referenced
this issue
Mar 8, 2018
Just like `line!` documentation, I've replaced: > The returned column is not the invocation of the `column!` macro itself By > The returned column is *not necessarily* the line of the `column!` invocation itself See rust-lang#46997.
This was referenced Mar 8, 2018
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
Mar 9, 2018
…ntation, r=joshtriplett Modify part of `line!` documentation. In accordance with rust-lang#46997, I've replaced: > The returned line is not the invocation of the line! macro itself [...] By > The returned line is *not necessarily* the line of the `line!` invocation itself [...]
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
Mar 9, 2018
…mentation, r=joshtriplett Modify part of `column!` documentation. Just like `line!` documentation, I've replaced: > The returned column is not the invocation of the `column!` macro itself By > The returned column is *not necessarily* the line of the `column!` invocation itself See rust-lang#46997.
This has been fixed. |
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
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
The documentation of the
line!()
andcolumn!()
macros says:I find "not the invocation of the `line!` macro itself" a bit misleading, because it is totally possible and expected for the return value to be the line of the invocation of the line macro itself when not being called from another macro. It may be clearer as "not necessarily the line of the `line!` invocation itself".
The text was updated successfully, but these errors were encountered: