Skip to content

Commit 20dea2b

Browse files
doma17ShaharNaveh
andauthored
Update crates/stdlib/src/csv.rs
Co-authored-by: Shahar Naveh <50263213+ShaharNaveh@users.noreply.github.com>
1 parent a554d1d commit 20dea2b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/stdlib/src/csv.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1177,7 +1177,7 @@ mod _csv {
11771177
format!("'{}' object is not iterable", row.class().name()),
11781178
)
11791179
})?;
1180-
let fields: Vec<_> = row.iter(vm)?.collect::<PyResult<_>>()?;
1180+
let fields = row.iter(vm)?.collect::<PyResult<Vec<_>>>()?;
11811181
let single_field = fields.len() == 1;
11821182
let mut output = Vec::new();
11831183

0 commit comments

Comments
 (0)