Skip to content

Documentation of return types for line!() and column!() is inaccurate #26424

Closed
@daboross

Description

@daboross

http://doc.rust-lang.org/nightly/std/macro.line!.html states that the macro will return a usize, where in reality it returns u32.

Example: http://is.gd/pOkE5x.

This same problem exists for column!() as well: http://is.gd/4a0T9U. Documentation at: http://doc.rust-lang.org/nightly/std/macro.column!.html.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions