smessmer / binary-layout

The binary-layout library allows type-safe, inplace, zero-copy access to structured binary data. You define a custom data layout and give it a slice of binary data, and it will allow you to read and write the fields defined in the layout from the binary data without having to copy any of the data. It's similar to transmuting to/from a #[repr(packed)] struct, but much safer.
Apache License 2.0
66 stars 9 forks source link

Ran `preen_rust.sh` across everything #12

Closed ckaran closed 2 years ago

ckaran commented 2 years ago

This is just a style pull. I ran my custom preen_rust.sh script across everything, which both formats the code and removes trailing whitespace from each line.

codecov-commenter commented 2 years ago

Codecov Report

Merging #12 (ee32264) into master (2d6b5ba) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #12   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            5         5           
  Lines         1415      1415           
=========================================
  Hits          1415      1415           
Impacted Files Coverage Δ
src/fields/primitive.rs 100.00% <ø> (ø)
src/macro_define_layout.rs 100.00% <ø> (ø)
src/view.rs 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 6b918d0...ee32264. Read the comment docs.