Skip to content

Commit

Permalink
remove redundant &
Browse files Browse the repository at this point in the history
  • Loading branch information
pragmatrix committed Apr 17, 2019
1 parent 475dafa commit 088c1af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skia-safe/examples/skia-org/skcanvas_overview.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ fn draw_hello_skia(canvas: &mut Canvas) {

let oval = RRect::new_oval(rect).offset((40.0, 60.0));
paint.set_color(Color::BLUE);
canvas.draw_rrect(&oval, &paint);
canvas.draw_rrect(oval, &paint);

paint.set_color(Color::CYAN);
canvas.draw_circle((180.0, 50.0), 25.0, &paint);
Expand Down

0 comments on commit 088c1af

Please sign in to comment.