Skip to content

Commit

Permalink
fix new clippy error (delta-io#296)
Browse files Browse the repository at this point in the history
  • Loading branch information
QP Hou authored Jun 22, 2021
1 parent 0f085e0 commit 7f1b073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/src/storage/s3/dynamodb_lock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ impl<'a> AcquireLockState<'a> {
// rvn doesn't match, meaning that other worker acquire it before us
// let's change cached lock with new one and extend timeout period
self.cached_lock = Some(existing);
return Err(DynamoError::ConditionalCheckFailed);
Err(DynamoError::ConditionalCheckFailed)
}
}
}
Expand Down

0 comments on commit 7f1b073

Please sign in to comment.