Skip to content

Commit

Permalink
Merge pull request #1 from SirFX/SirFX-patch-1
Browse files Browse the repository at this point in the history
Fix example of LSP
  • Loading branch information
SirFX authored Jan 15, 2022
2 parents d46df51 + a591356 commit fbdbeef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2083,7 +2083,7 @@ Drawable RenderLargeRectangles(Rectangle rectangles)
{
rectangle.SetWidth(4);
rectangle.SetHeight(5);
var area = rectangle.GetArea(); // BAD: Will return 25 for Square. Should be 20.
var area = rectangle.GetArea(); // BAD: Will return 20 for Square. Should be 25.
rectangle.Render(area);
}
}
Expand Down

0 comments on commit fbdbeef

Please sign in to comment.