Jonathan Chan Kwan Yin

Results 391 comments of Jonathan Chan Kwan Yin

Is there any particular impact on rustdoc? - Should docs of the proc macro crate be rendered on docs.rs - What is the path of the proc macro crate under...

More precisely, pocketmine::IS_DEVELOPMENT_BUILD only implies the core is indev, while we are targeting plugin developers not core developers here.

These problems are better solved by a sandboxed environment like WASM. There are more ways to interact with a filesystem or internet in any OS than you probably imagined.

unsafe code blocks are intentionally scary so that you know about it. In fact my opinion is that AST-aware editors should syntax highlight the entire unsafe block to make it...

My point, as illustrated above, is that braces are not that ugly. Just like people writing C barely complain the verbosity of writing a `()`, what's wrong with writing a...

What is the idiomatic scope of `unsafe` these days? I thought it is idiomatic to have something like ```rs let value = unsafe { // `ptr` is a valid pointer...

> Maybe unsafes could be called with `unsafe (exression)` How are parentheses any better than curly braces?

@jglick might be unidiomatic, but I always use `| fromYaml | toJson` instead of nindent.