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 arc_unwrap_or_clone with now stable Arc::unwrap_or_clone #5249

Merged
merged 4 commits into from
Mar 12, 2024

Conversation

mkaput
Copy link
Member

@mkaput mkaput commented Mar 12, 2024

The Arc::unwrap_or_clone function was stabilized in Rust 1.76


This change is Reviewable

The `Arc::unwrap_or_clone` function was stabilized in Rust 1.76
@mkaput mkaput requested a review from yuvalsw March 12, 2024 11:13
Copy link
Contributor

@yuvalsw yuvalsw left a comment

Choose a reason for hiding this comment

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

Reviewed 10 of 10 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @mkaput)


crates/cairo-lang-test-plugin/src/lib.rs line 31 at r1 (raw file):

use cairo_lang_utils::unordered_hash_map::UnorderedHashMap;
use itertools::{chain, Itertools};
pub use plugin::TestPlugin;

Not that it's important, but why did this move?

Copy link
Member Author

@mkaput mkaput left a comment

Choose a reason for hiding this comment

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

Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @yuvalsw)


crates/cairo-lang-test-plugin/src/lib.rs line 31 at r1 (raw file):

Previously, yuvalsw wrote…

Not that it's important, but why did this move?

RustRover's imports organizer did this

@mkaput mkaput enabled auto-merge March 12, 2024 12:11
@mkaput mkaput added this pull request to the merge queue Mar 12, 2024
Merged via the queue into main with commit 616979b Mar 12, 2024
42 of 43 checks passed
@mkaput mkaput deleted the arc_unwrap_or_clone branch March 12, 2024 12:30
shramee pushed a commit to shramee/cairo that referenced this pull request Sep 17, 2024
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.

2 participants