Feature idea: "deny(missing_examples)" for Rust. Fails the build if you didn't write a doctest for a method. Just spent 2 hours wiring up perl, sed, and awk to recreate part of this functionality. Would be fantastic if it was possible to enforce higher quality with just a flag.
-
-
Replying to @yoshuawuyts
hang on, that would enforce actual examples for a given method, yea?
1 reply 0 retweets 1 like -
-
Replying to @yoshuawuyts
I like this! Sometimes it's super hard to try to figure out how to use something. Could be cause I am new to rust, but I feel like enforcing examples is a good documentation practice
1 reply 0 retweets 1 like
Replying to @_lrlna
Haha, I was looking at some code I wrote a few months ago, and took me a while to figure out how to use it because it didn't have any examples. I think having examples helps everyone, regardless of skill level :D
1:51 PM - 29 Aug 2018
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.