File: update-arrayvec.patch

package info (click to toggle)
rust-csv-core 0.1.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 312 kB
  • sloc: makefile: 2
file content (18 lines) | stat: -rw-r--r-- 431 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -44,3 +44,3 @@
 [dev-dependencies.arrayvec]
-version = "0.5"
+version = "0.7"
 default-features = false
--- a/src/reader.rs
+++ b/src/reader.rs
@@ -1335,5 +1335,5 @@
 
-    type Csv = ArrayVec<[Row; 10]>;
-    type Row = ArrayVec<[Field; 10]>;
-    type Field = ArrayString<[u8; 10]>;
+    type Csv = ArrayVec<Row, 10>;
+    type Row = ArrayVec<Field, 10>;
+    type Field = ArrayString<10>;