this post was submitted on 03 May 2024
43 points (81.2% liked)

Rust

5398 readers
49 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

[email protected]

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 40 points 2 months ago (1 children)

The only thing worse than a bad example is documentation like this:

fn do_thing(...)

Does thing.

It adds nothing, other than letting you know they were there and decided not to actually provide something useful.

[โ€“] [email protected] 7 points 2 months ago

Yeah that just wastes both people's time