i've been writing more little rust script-y things, here's a small lint using only std https://github.com/rust-lang/book/blob/59f76f1a2919641f246da62751eee620b4736acf/ci/stable-check/src/main.rs …
-
-
Replying to @steveklabnik
this could be made nicer in some ways, and cleaner in others. it's funny how personal preference comes out
1 reply 0 retweets 0 likes -
Replying to @steveklabnik
i don't mind the error boilerplate so it's in there, but could actually all go away if i was really trying to just knock out a script
2 replies 1 retweet 2 likes -
Replying to @steveklabnik
since this is only using std, some other crates could make it a bit nicer, but sometimes it's easier to just not use them
1 reply 0 retweets 2 likes -
Replying to @steveklabnik
anywho i'm not saying this is the best code or the worst or anything, but i'm finding stuff productive enough for small tasks
1 reply 0 retweets 2 likes -
Replying to @steveklabnik
which isn't something i was sure about before
3 replies 0 retweets 1 like
It could have also helped prevent unit conversion errors if I wrote better code
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.