File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ utf8-ranges = "1.0.0"
35
35
# For examples.
36
36
lazy_static = " 0.2.2"
37
37
# For property based tests.
38
- quickcheck = { version = " 0.4.1 " , default-features = false }
38
+ quickcheck = { version = " 0.5 " , default-features = false }
39
39
# For generating random test data.
40
40
rand = " 0.3.15"
41
41
Original file line number Diff line number Diff line change @@ -9,5 +9,5 @@ homepage = "https://github.com/rust-lang/regex"
9
9
description = " A regular expression parser."
10
10
11
11
[dev-dependencies ]
12
- quickcheck = { version = " 0.4.1 " , default-features = false }
12
+ quickcheck = { version = " 0.5 " , default-features = false }
13
13
rand = " 0.3.15"
Original file line number Diff line number Diff line change @@ -188,8 +188,8 @@ impl Arbitrary for Expr {
188
188
ClassBytes ( ref cls) => Box :: new ( cls. shrink ( ) . map ( ClassBytes ) ) ,
189
189
Group { ref e, ref i, ref name } => {
190
190
let ( i, name) = ( i. clone ( ) , name. clone ( ) ) ;
191
- Box :: new ( e. clone ( ) . shrink ( )
192
- . chain ( e. clone ( ) . shrink ( )
191
+ Box :: new ( ( * e. clone ( ) ) . shrink ( )
192
+ . chain ( ( * e. clone ( ) ) . shrink ( )
193
193
. map ( move |e| Group {
194
194
e : Box :: new ( e) ,
195
195
i : i. clone ( ) ,
You can’t perform that action at this time.
0 commit comments