Skip to content

Commit 79ba9a0

Browse files
committed
Update README with Vec changes
1 parent 7e984a4 commit 79ba9a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ struct Person {
2424
id: i32,
2525
name: ~str,
2626
time_created: Timespec,
27-
data: Option<~[u8]>
27+
data: Option<Vec<u8>>
2828
}
2929

3030
fn main() {
@@ -215,7 +215,7 @@ types. The driver currently supports the following conversions:
215215
<td>VARCHAR, CHAR(n), TEXT</td>
216216
</tr>
217217
<tr>
218-
<td>[u8]</td>
218+
<td>[u8]/Vec&lt;u8&gt;</td>
219219
<td>BYTEA</td>
220220
</tr>
221221
<tr>
@@ -247,7 +247,7 @@ types. The driver currently supports the following conversions:
247247
<td>BOOL[], BOOL[][], ...</td>
248248
</tr>
249249
<tr>
250-
<td>types::array::ArrayBase&lt;Option&lt;~[u8]&gt;&gt;</td>
250+
<td>types::array::ArrayBase&lt;Option&lt;Vec&lt;u8&gt;&gt;&gt;</td>
251251
<td>BYTEA[], BYTEA[][], ...</td>
252252
</tr>
253253
<tr>

0 commit comments

Comments
 (0)