+++ This bug was initially created as a clone of Bug #1742091 +++ Filling as a good first bug to learn workflows. hs.len() == 0 should use .empty() instead https://searchfox.org/mozilla-central/rev/cc4a22e024a23183e53696bf6dc5014e407a29ff/xpcom/rust/gtest/bench-collections/bench.rs#97 As the change is trivial, it is just to learn how to contribute to Firefox. Found by https://rust-lang.github.io/rust-clippy/master/#len_zero Tutorial to contribute: https://firefox-source-docs.mozilla.org/tools/docs/contribute/how_to_contribute_firefox.html
Bug 1747544 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Filling as a good first bug to learn workflows. hs.len() == 0 should use .empty() instead https://searchfox.org/mozilla-central/rev/cc4a22e024a23183e53696bf6dc5014e407a29ff/xpcom/rust/gtest/bench-collections/bench.rs#97 As the change is trivial, it is just to learn how to contribute to Firefox. Found by https://rust-lang.github.io/rust-clippy/master/#len_zero Tutorial to contribute: https://firefox-source-docs.mozilla.org/tools/docs/contribute/how_to_contribute_firefox.html
Filling as a good first bug to learn workflows. hs.len() == 0 should use .is_empty() instead https://searchfox.org/mozilla-central/rev/cc4a22e024a23183e53696bf6dc5014e407a29ff/xpcom/rust/gtest/bench-collections/bench.rs#97 As the change is trivial, it is just to learn how to contribute to Firefox. Found by https://rust-lang.github.io/rust-clippy/master/#len_zero Tutorial to contribute: https://firefox-source-docs.mozilla.org/tools/docs/contribute/how_to_contribute_firefox.html