On 23-01-23, 14:58, Bartosz Golaszewski wrote: > On Mon, Jan 16, 2023 at 6:52 AM Viresh Kumar <viresh.kumar@xxxxxxxxxx> wrote: > > > > For Rust changes, please run these as well to find any formatting > > issues, warnings: > > > > cargo fmt --all -- --check > > cargo clippy --release --workspace --bins --examples --tests --benches --all-features --all-targets -- -D warnings -D clippy::undocumented_unsafe_blocks > > > > FYI The first command introduces changes to unsafe blocks' coding > style that the second one interprets as unsafe block with no SAFETY > comments. :) Heh, I also stumbled upon that (bug) earlier. Basically it doesn't recognize this format somehow: /// SAFETY: *** let ret = unsafe { -block- }; Just ignore that for now. -- viresh