Skip to content

Commit 13e3779

Browse files
Fix lint
1 parent c1b4b24 commit 13e3779

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/flight/exec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ async fn flight_stream(
196196
Err(e) => errors.push(Box::new(e)),
197197
}
198198
}
199-
let err = errors.into_iter().last().unwrap_or_else(|| {
199+
let err = errors.into_iter().next_back().unwrap_or_else(|| {
200200
Box::new(FlightError::ProtocolError(format!(
201201
"No available location for endpoint {:?}",
202202
partition.locations

0 commit comments

Comments
 (0)