Skip to content

Error in piston docs Rectangle.draw method  #1383

Open
@PandaBean18

Description

@PandaBean18

The documentation says

draw_state draw state, draw_state::Default::default() can be used as a default,

It should be draw_state::DrawState::default()
https://docs.piston.rs/piston_window/graphics/rectangle/struct.Rectangle.html#method.draw

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions