Commit 82f247c
authored
fix: the default behaviour is not aligned with the docs (#81)
In the docs, there is the following snippet:
```
//! StreamBodyAs::csv(my_source_stream())
//! // Which is the same as:
//! // StreamBodyWith::new(CsvStreamFormat::new(
//! // true, // with_header
//! // b',' // CSV delimiter
//! //), my_source_stream())
```
Which is incorrect given the current implementation. My proposal is
to use the `default` implementation for the `CsvStreamFormat` which
aligns with the docs.1 parent d2c5f2b commit 82f247c
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
| 159 | + | |
163 | 160 | | |
164 | 161 | | |
165 | 162 | | |
| |||
0 commit comments