Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace once_cell Lazy with ordinary static #1447

Merged
merged 2 commits into from Mar 27, 2024
Merged

Conversation

tottoto
Copy link
Contributor

@tottoto tottoto commented Mar 27, 2024

BTreeMap::new in const context is stabilized at Rust 1.65.

https://doc.rust-lang.org/std/collections/struct.BTreeMap.html#method.new

Signed-off-by: tottoto <tottotodev@gmail.com>
Copy link
Member

@nightkr nightkr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@nightkr nightkr enabled auto-merge March 27, 2024 13:40
Copy link

codecov bot commented Mar 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.1%. Comparing base (a868bbf) to head (d6c6203).

❗ Current head d6c6203 differs from pull request most recent head 4848d45. Consider uploading reports for the commit 4848d45 to get more accurate results

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #1447   +/-   ##
=====================================
  Coverage   72.1%   72.1%           
=====================================
  Files         78      78           
  Lines       6594    6594           
=====================================
  Hits        4749    4749           
  Misses      1845    1845           
Files Coverage Δ
kube-core/src/resource.rs 63.6% <100.0%> (ø)

@nightkr nightkr disabled auto-merge March 27, 2024 13:49
@nightkr nightkr enabled auto-merge March 27, 2024 13:50
@nightkr nightkr merged commit 0952c2a into kube-rs:main Mar 27, 2024
16 checks passed
@tottoto tottoto deleted the once-cell branch March 27, 2024 13:53
@clux clux added the changelog-fix changelog fix category for prs label Mar 28, 2024
@clux clux added this to the 0.90.0 milestone Mar 28, 2024
@clux clux mentioned this pull request Apr 2, 2024
@clux clux changed the title replace once_cell Lazy with ordinary static replace once_cell Lazy with ordinary static Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-fix changelog fix category for prs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants