microsoft / rust-for-dotnet-devs

Rust for C#/.NET Developers
https://microsoft.github.io/rust-for-dotnet-devs/latest/
Other
353 stars 51 forks source link

Fix Rust point display to match C# #64

Open nlawrence22 opened 7 months ago

nlawrence22 commented 7 months ago

It looks like this is a simple typo, since it wouldn't make a lot of sense to represent y2 twice and y1 never. This correction brings the rust example to match the C# example, which represents x1,y1 and x2,y2 as matched point pairs.