| 1 |
--- a/Cargo.toml |
| 2 |
+++ b/Cargo.toml |
| 3 |
@@ -23,7 +23,7 @@ |
| 4 |
license = "Apache-2.0 OR MIT" |
| 5 |
repository = "https://github.com/hsivonen/chardetng" |
| 6 |
[dependencies.arrayvec] |
| 7 |
-version = "0.5.1" |
| 8 |
+version = "0.7" |
| 9 |
optional = true |
| 10 |
|
| 11 |
[dependencies.cfg-if] |
| 12 |
--- a/src/lib.rs |
| 13 |
+++ b/src/lib.rs |
| 14 |
@@ -2860,7 +2860,7 @@ |
| 15 |
// performing thread synchronization only to bail |
| 16 |
// out immediately when trying a disqualified |
| 17 |
// candidate. |
| 18 |
- let mut qualified = ArrayVec::<[_; 27]>::new(); |
| 19 |
+ let mut qualified = ArrayVec::<_,27>::new(); |
| 20 |
for candidate in self.candidates.iter_mut() { |
| 21 |
if candidate.qualified() { |
| 22 |
qualified.push(candidate); |