
math+cs research 📚 @tokyotech_jp | youtube 🎬 @Geek_Launch | Rust tips 🦀 #RustProTip | currently stealth, former @NearProtocol | 悪貨は良貨を駆逐す
神奈川県
Joined June 2021
- Tweets1.8K
- Following735
- Followers893
- Likes9.6K
Nobody actually wrote that Rust code.
Here is the actual source. What's in the docs is a fully-expanded, compiler-generated signature for maximum explicitness, not readability.
Replying to @Lordmiles
Wikipedia authors cooked with this one.
Replying to @rustaceans_rs
I'm going for "least readable solution". Works on strings up to 64 characters long.
play.rust-lang.org/?version=…
#RustProTip №38: The debug_assert! macro
The debug_assert! macro creates an assertion only in debug builds. It is useful for confirming assumptions during development without risking performance degradation in the release build.
I realize that, as a browser derived from Firefox, there will still be some connections to Mozilla. Zen does acknowledge and explain this later on in the policy.
This, unlike Mozilla's most recent gaffe, is transparent and honest.
1
58















