Skip to content

Conversation

@nichmor
Copy link
Contributor

@nichmor nichmor commented May 7, 2024

Closes: #710

Untitled-2024-02-23-1901

@nichmor nichmor marked this pull request as ready for review May 7, 2024 12:22
Comment on lines 169 to 171
if let Some(mapped_channel) = custom_mapping.get(&record.channel) {
if let Some(mapped_name) = mapped_channel.get(record.package_record.name.as_normalized()) {
if let Some(name) = mapped_name {
Copy link
Contributor

Choose a reason for hiding this comment

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

It think you can use an if-let chain for this: rust-lang/rust#88642. Not sure, have not used it yet.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it is saying that ``let expressions in this position are unstable
rust-lang/rust#53667

@nichmor nichmor requested a review from tdejager May 15, 2024 10:02
@tdejager
Copy link
Contributor

LGTM @ruben-arts could you give it a final test tomorrow?

@ruben-arts ruben-arts merged commit 66ce6cf into prefix-dev:main May 16, 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.

Conda-forge package and Pypi package with the same name

3 participants