smoltcp-rs / smoltcp

a smol tcp/ip stack
BSD Zero Clause License
3.64k stars 404 forks source link

reformatting project #837

Closed ssrlive closed 10 months ago

ssrlive commented 10 months ago

When I modified the file Cargo.toml, it caused many parts of this file to be modified automatically. I used vscode and configured the "automatically format when saving the file" option.

For the convenience of other developers, I reformatted the entire project.

codecov[bot] commented 10 months ago

Codecov Report

Merging #837 (a013579) into main (28a5dd1) will increase coverage by 0.00%. The diff coverage is 50.00%.

@@           Coverage Diff           @@
##             main     #837   +/-   ##
=======================================
  Coverage   79.58%   79.58%           
=======================================
  Files          78       78           
  Lines       27809    27810    +1     
=======================================
+ Hits        22131    22132    +1     
  Misses       5678     5678           
Files Changed Coverage Δ
src/wire/sixlowpan/iphc.rs 65.67% <50.00%> (+0.05%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Dirbaio commented 10 months ago

We don't autoformat TOML files, the autoformatter's output is much less readable.

You can configure vscode to not format TOML like this:

    "[toml]": {
        "editor.formatOnSave": false
    },