File tree Expand file tree Collapse file tree 9 files changed +11
-8
lines changed Expand file tree Collapse file tree 9 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ jobs:
109
109
strategy :
110
110
fail-fast : false
111
111
matrix :
112
- msrv : ["1.61 .0"]
112
+ msrv : ["1.62 .0"]
113
113
os :
114
114
- ubuntu
115
115
- macOS
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ All user visible changes to `cucumber-expressions` crate will be documented in t
13
13
14
14
### BC Breaks
15
15
16
- - Bumped up [ MSRV] to 1.61 for more clever support of [ Cargo feature] s.
16
+ - Bumped up [ MSRV] to 1.62 for more clever support of [ Cargo feature] s.
17
17
18
18
19
19
Original file line number Diff line number Diff line change 2
2
name = " cucumber-expressions"
3
3
version = " 0.3.0-dev"
4
4
edition = " 2021"
5
- rust-version = " 1.61 "
5
+ rust-version = " 1.62 "
6
6
description = " Cucumber Expressions AST and parser."
7
7
license = " MIT OR Apache-2.0"
8
8
authors = [
Original file line number Diff line number Diff line change 4
4
[ ![ Crates.io] ( https://img.shields.io/crates/v/cucumber-expressions.svg?maxAge=2592000 )] ( https://crates.io/crates/cucumber-expressions )
5
5
[ ![ Documentation] ( https://docs.rs/cucumber-expressions/badge.svg )] ( https://docs.rs/cucumber-expressions )
6
6
[ ![ CI] ( https://github.com/cucumber-rs/cucumber-expressions/workflows/CI/badge.svg?branch=main " CI ")] ( https://github.com/cucumber-rs/cucumber-expressions/actions?query=workflow%3ACI+branch%3Amaster )
7
- [ ![ Rust 1.61 +] ( https://img.shields.io/badge/rustc-1.61 +-lightgray.svg " Rust 1.61 + ")] ( https://blog.rust-lang.org/2022/05/19 /Rust-1.61 .0.html )
7
+ [ ![ Rust 1.62 +] ( https://img.shields.io/badge/rustc-1.62 +-lightgray.svg " Rust 1.62 + ")] ( https://blog.rust-lang.org/2022/06/30 /Rust-1.62 .0.html )
8
8
[ ![ Unsafe Forbidden] ( https://img.shields.io/badge/unsafe-forbidden-success.svg )] ( https://github.com/rust-secure-code/safety-dance )
9
9
10
10
- [ Changelog] ( https://github.com/cucumber-rs/cucumber-expressions/blob/main/CHANGELOG.md )
Original file line number Diff line number Diff line change 2
2
name = " cucumber-expressions-fuzz"
3
3
version = " 0.0.0"
4
4
edition = " 2021"
5
- rust-version = " 1.61 "
5
+ rust-version = " 1.62 "
6
6
description = " Fuzz testing for `cucumber-expressions` crate."
7
7
license = " MIT OR Apache-2.0"
8
8
authors = [
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ impl<'s> TryFrom<&'s str> for Expression<Spanned<'s>> {
44
44
} )
45
45
. and_then ( |( rest, parsed) | {
46
46
rest. is_empty ( )
47
- . then ( || parsed)
47
+ . then_some ( parsed)
48
48
. ok_or ( parse:: Error :: Other ( rest, ErrorKind :: Verify ) )
49
49
} )
50
50
}
Original file line number Diff line number Diff line change @@ -538,7 +538,7 @@ where
538
538
539
539
fn next ( & mut self ) -> Option < Self :: Item > {
540
540
let next = self . iter . next ( ) ;
541
- ( self . iter . peek ( ) . is_some ( ) ) . then ( || next) . flatten ( )
541
+ ( self . iter . peek ( ) . is_some ( ) ) . then_some ( next) . flatten ( )
542
542
}
543
543
}
544
544
Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ where
214
214
let hir = regex_syntax:: Parser :: new ( )
215
215
. parse ( & re)
216
216
. map_err ( |err| ( self . element . input , re, err) ) ?;
217
- Ok ( regex_hir:: has_capture_groups ( & hir) . then ( || hir) )
217
+ Ok ( regex_hir:: has_capture_groups ( & hir) . then_some ( hir) )
218
218
} )
219
219
. transpose ( ) ;
220
220
let parsed = match parsed {
Original file line number Diff line number Diff line change 33
33
clippy:: decimal_literal_representation,
34
34
clippy:: default_union_representation,
35
35
clippy:: else_if_without_else,
36
+ clippy:: empty_drop,
36
37
clippy:: empty_line_after_outer_attr,
38
+ clippy:: empty_structs_with_brackets,
37
39
clippy:: equatable_if_let,
38
40
clippy:: exit,
39
41
clippy:: expect_used,
47
49
clippy:: imprecise_flops,
48
50
clippy:: index_refutable_slice,
49
51
clippy:: iter_with_drain,
52
+ clippy:: large_include_file,
50
53
clippy:: let_underscore_must_use,
51
54
clippy:: lossy_float_literal,
52
55
clippy:: map_err_ignore,
You can’t perform that action at this time.
0 commit comments