Skip to content

Replace deprecated std constants by associated constants. #289

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

Merged
merged 1 commit into from
Apr 27, 2023
Merged

Replace deprecated std constants by associated constants. #289

merged 1 commit into from
Apr 27, 2023

Conversation

RillingDev
Copy link
Contributor

@RillingDev RillingDev commented Sep 25, 2021

@jdm
Copy link
Member

jdm commented Nov 21, 2021

@bors-servo r+
Thanks!

@bors-servo
Copy link
Contributor

📌 Commit 15c2ec2 has been approved by jdm

@bors-servo
Copy link
Contributor

⌛ Testing commit 15c2ec2 with merge bced3f2...

bors-servo added a commit that referenced this pull request Nov 21, 2021
Replace deprecated std constants by associated constants.

This PR aims to fix a few minor deprecation warnings.
See https://blog.rust-lang.org/2020/04/23/Rust-1.43.0.html#library-changes and https://doc.rust-lang.org/stable/std/usize/index.html for details.
@bors-servo
Copy link
Contributor

💔 Test failed - checks-github

@jdm
Copy link
Member

jdm commented Nov 21, 2021

Looks like this has implications for the libraries minimum supported rust version.

@RillingDev
Copy link
Contributor Author

Ah, good catch - I did not check that!

I guess merging this will have to wait until the min. rust version is 1.43 or higher then.

@emilio
Copy link
Member

emilio commented Apr 27, 2023

@bors-servo r+

  • Should be good to go now.

@bors-servo
Copy link
Contributor

💡 This pull request was already approved, no need to approve it again.

  • This pull request previously failed. You should add more commits to fix the bug, or use retry to trigger a build again.

@bors-servo
Copy link
Contributor

📌 Commit 15c2ec2 has been approved by emilio

@bors-servo
Copy link
Contributor

⌛ Testing commit 15c2ec2 with merge c8afe3b...

@bors-servo
Copy link
Contributor

☀️ Test successful - checks-github
Approved by: emilio
Pushing c8afe3b to master...

@bors-servo bors-servo merged commit c8afe3b into servo:master Apr 27, 2023
@RillingDev RillingDev deleted the deprecation-fixes branch April 27, 2023 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants