rust-unofficial / patterns

A catalogue of Rust design patterns, anti-patterns and idioms
https://rust-unofficial.github.io/patterns/
Mozilla Public License 2.0
8.02k stars 367 forks source link

choose different language in some parts #203

Closed 7596ff closed 3 years ago

7596ff commented 3 years ago

This PR chooses different language in two different places. It substitutes dummy function for helper function. It removes tribal knowledge and rewords the sentence. Edited paragraphs have been constrained to a width of 80 characters in line with the Rust style guide.

Other instances of what I personally considered to be "dodgy" language were ignored due to having precedent in computer science idioms, having precedent as a Rust-specific feature (fat pointers), or another reason.

The inciting incident for this PR was this comment.

Signed-off-by: Cassandra McCarthy cassie@7596ff.com

simonsan commented 3 years ago

Thanks ;-)