bors[bot] 0a18e4355a
Merge #11740
11740: Insert #[must_use] in generate_is_empty_from_len r=lnicola a=Walther

Inserts `#[must_use]` for the generated `is_empty` methods. I also added the `#[must_use]` for the `len()` methods in the documentation examples and tests for this generator while at it, to make sure they too encourage the use of the annotation.

From discussion in https://github.com/rust-analyzer/rust-analyzer/issues/11736 and https://github.com/rust-analyzer/rust-analyzer/pull/11738

Co-authored-by: Walther <veeti.haapsamo@gmail.com>
2022-03-17 13:14:26 +00:00
..
2022-03-12 16:50:49 +01:00
2022-03-14 20:05:46 +00:00
2022-03-14 20:05:46 +00:00
2022-03-12 16:50:49 +01:00
2022-03-17 12:47:31 +03:30
2022-03-17 13:14:26 +00:00
2022-03-17 08:53:33 +02:00
2022-03-12 16:50:49 +01:00
2022-03-17 06:54:27 +00:00
2022-03-17 08:53:33 +02:00
2022-03-12 16:50:49 +01:00