Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch committed Feb 23, 2024
1 parent e407a2b commit ee2c4db
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions soroban-sdk/src/bytes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -627,10 +627,7 @@ impl Bytes {
let slice = &mut buffer[0..len];
self.copy_into_slice(slice);
}
BytesBuffer {
buffer,
len,
}
BytesBuffer { buffer, len }
}

/// Copy the bytes into a Rust alloc Vec of size matching the bytes.
Expand Down

0 comments on commit ee2c4db

Please sign in to comment.