Skip to content

Commit 5a95934

Browse files
committed
style: meh
1 parent 3377722 commit 5a95934

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

libdd-trace-utils/src/send_data/send_data_result.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,10 @@ impl SendDataResult {
5656
pub(crate) fn update(&mut self, res: SendWithRetryResult, bytes_sent: u64, chunks: u64) {
5757
match res {
5858
Ok((response, attempts)) => {
59-
let status = response.status().as_u16();
60-
*self.responses_count_per_code.entry(status).or_default() += 1;
59+
*self
60+
.responses_count_per_code
61+
.entry(response.status().as_u16())
62+
.or_default() += 1;
6163
self.bytes_sent += bytes_sent;
6264
self.chunks_sent += chunks;
6365
self.last_result = Ok(response);

0 commit comments

Comments
 (0)