@@ -2863,7 +2863,7 @@ declare_clippy_lint! {
2863
2863
///
2864
2864
/// OpenOptions::new().create(true).truncate(true);
2865
2865
/// ```
2866
- #[ clippy:: version = "1.75 .0" ]
2866
+ #[ clippy:: version = "1.77 .0" ]
2867
2867
pub SUSPICIOUS_OPEN_OPTIONS ,
2868
2868
suspicious,
2869
2869
"suspicious combination of options for opening a file"
@@ -3817,7 +3817,7 @@ declare_clippy_lint! {
3817
3817
/// ```no_run
3818
3818
/// let _ = std::iter::empty::<Result<i32, ()>>().flatten();
3819
3819
/// ```
3820
- #[ clippy:: version = "1.76 .0" ]
3820
+ #[ clippy:: version = "1.77 .0" ]
3821
3821
pub RESULT_FILTER_MAP ,
3822
3822
complexity,
3823
3823
"filtering `Result` for `Ok` then force-unwrapping, which can be one type-safe operation"
@@ -3843,7 +3843,7 @@ declare_clippy_lint! {
3843
3843
/// // example code which does not raise clippy warning
3844
3844
/// vec![Some(1)].into_iter().flatten();
3845
3845
/// ```
3846
- #[ clippy:: version = "1.76 .0" ]
3846
+ #[ clippy:: version = "1.77 .0" ]
3847
3847
pub ITER_FILTER_IS_SOME ,
3848
3848
pedantic,
3849
3849
"filtering an iterator over `Option`s for `Some` can be achieved with `flatten`"
@@ -3869,7 +3869,7 @@ declare_clippy_lint! {
3869
3869
/// // example code which does not raise clippy warning
3870
3870
/// vec![Ok::<i32, String>(1)].into_iter().flatten();
3871
3871
/// ```
3872
- #[ clippy:: version = "1.76 .0" ]
3872
+ #[ clippy:: version = "1.77 .0" ]
3873
3873
pub ITER_FILTER_IS_OK ,
3874
3874
pedantic,
3875
3875
"filtering an iterator over `Result`s for `Ok` can be achieved with `flatten`"
@@ -3896,7 +3896,7 @@ declare_clippy_lint! {
3896
3896
/// option.is_some_and(|a| a > 10);
3897
3897
/// result.is_ok_and(|a| a > 10);
3898
3898
/// ```
3899
- #[ clippy:: version = "1.76 .0" ]
3899
+ #[ clippy:: version = "1.77 .0" ]
3900
3900
pub MANUAL_IS_VARIANT_AND ,
3901
3901
pedantic,
3902
3902
"using `.map(f).unwrap_or_default()`, which is more succinctly expressed as `is_some_and(f)` or `is_ok_and(f)`"
@@ -3926,7 +3926,7 @@ declare_clippy_lint! {
3926
3926
/// `"\r\n"`), for example during the parsing of a specific file format in which precisely one newline type is
3927
3927
/// valid.
3928
3928
/// ```
3929
- #[ clippy:: version = "1.76 .0" ]
3929
+ #[ clippy:: version = "1.77 .0" ]
3930
3930
pub STR_SPLIT_AT_NEWLINE ,
3931
3931
pedantic,
3932
3932
"splitting a trimmed string at hard-coded newlines"
0 commit comments