Updating BTreeMap::from to Rust 1.56 syntax
This changes the old format for instantiating Maps from .iter().cloned().collect() to the new BTreeMap::from syntax introduced in Rust 1.56.
Please feel free to reject if this jump in MSRV (1.49 -> 1.56) is too large - just a QOL change I spotted digging around the codebase.
Obviously the tests are failing due to the CI running on 1.46, I'll leave this open for now and we can evaluate. I personally don't believe the msrv jump is worth it to save 10loc but that doesn't mean the PR is worth closing immediately. Thanks!
By the way @FL33TW00D I have added a discussion about 0.14, feel free to add your thoughts
Obviously the tests are failing due to the CI running on 1.46, I'll leave this open for now and we can evaluate. I personally don't believe the msrv jump is worth it to save 10loc but that doesn't mean the PR is worth closing immediately. Thanks!
100% Agree - can leave sitting until something that requires an MSRV jump comes up.
Codecov Report
Merging #136 (19bbe5c) into master (ec392c2) will not change coverage. The diff coverage is
n/a.
@@ Coverage Diff @@
## master #136 +/- ##
======================================
Coverage 5.36% 5.36%
======================================
Files 150 150
Lines 14526 14526
======================================
Hits 780 780
Misses 13746 13746
| Impacted Files | Coverage Δ | |
|---|---|---|
| openapi/src/metadata.rs | 0.00% <ø> (ø) |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more