Skip to content

Conversation

@alex-semenyuk
Copy link
Member

As mentioned #13387 it's not clear how to fix issue with complexity so add example for this

changelog: none

@rustbot
Copy link
Collaborator

rustbot commented Sep 13, 2024

r? @Alexendoo

rustbot has assigned @Alexendoo.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Sep 13, 2024
/// ### Example
/// ```no_run
/// # use std::rc::Rc;
/// type InnerType = Vec<Vec<Box<(u32, u32, u32, u32)>>>;
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: The example could be even more helpful if the types were named by what they supposedly represent, instead of having purely technical names. PointMatrix (or whatever) instead of InnerType, and SharedPointMatrix instead of RcInnerType. Then let shared_matrix: SharedPointMatrix = Rc::new(inner_data).

@alex-semenyuk
Copy link
Member Author

r? clippy

@rustbot rustbot assigned dswij and unassigned Alexendoo Sep 20, 2024
Copy link
Member

@dswij dswij left a comment

Choose a reason for hiding this comment

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

Thanks!

@dswij
Copy link
Member

dswij commented Sep 22, 2024

@bors r+

@bors
Copy link
Contributor

bors commented Sep 22, 2024

📌 Commit bc7d323 has been approved by dswij

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Sep 22, 2024

⌛ Testing commit bc7d323 with merge 2c5e600...

@bors
Copy link
Contributor

bors commented Sep 22, 2024

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: dswij
Pushing 2c5e600 to master...

@bors bors merged commit 2c5e600 into rust-lang:master Sep 22, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants