Charles Lew
Charles Lew
Seems current diagnostics has some support for emoji usages, however it seems outdated and incomplete. This adds a simple unit test to showcase the status quo.
cc https://github.com/rust-lang/rust/issues/65991
Current text recommends naming lifetime parameter with single letter too much. I've seen this adds a lot to beginner's confusion. Change the order to stop encouraging that. Also, added discouraging...
This is inherited issue from CommonMark: there's a concept of tight list, where each `` directly contains inlines (leaf block), vs the "loose" lists, where `` contains a paragraph that...
One thing that is annoying and in my personal opinion prevented Markdown/CommonMark from being popular in a degree in East Asia, is that soft link breaks are generated between lines,...
It seems webgpu has been deployed in Chrome 113. Maybe consider supporting it somehow in a future version.
Currently `const_assert!` add items within generated code, and they show up with `cargo doc --document-private-items`. Maybe consider adding `doc(hidden)` on them?
TL;DR : This allows this code with the new `prelude` keyword: ```rust mod bar { #[derive(Default)] pub(crate) struct Bar(pub(crate) usize); #[derive(Default)] pub(crate) struct Baz(pub(crate) usize); } struct Foo { bar:...
看起来B站有的视频是被限流屏蔽的……虽然能正常播放,但是不会出现在搜索结果里。 举例:BV1zr4y187vi 是否可以增加一个直接按BV号加这种歌的功能?
TL;DR version: Make `vec[key]_? = new_value;` doesn't panic when key is out of bounds. For Rust syntax budget, square bracket is perhaps one of the least rewarding current design at...