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

Fix compiler error and clarify instructions #1668

Merged
merged 1 commit into from
Sep 8, 2023

Conversation

ob
Copy link
Contributor

@ob ob commented Sep 8, 2023

Following the discussion on #1195 a commit added .to_mut() to the last Cow::from(slice) call. However that doesn't compile (or make sense for that matter, since it returns the mutable inner type). I think from reading the comments in this commit that the comments are talking about the .to_mut() call in the abs_all() function and the commit that added the call just misinterpreted what the comments say. At any rate, this makes it compile.

@shadows-withal shadows-withal merged commit 9dc8f13 into rust-lang:main Sep 8, 2023
5 checks passed
@shadows-withal
Copy link
Member

@all-contributors please add @ob for content

@allcontributors
Copy link
Contributor

@shadows-withal

I've put up a pull request to add @ob! 🎉

@ob ob deleted the ob/fix-bug branch September 9, 2023 02:41
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.

None yet

2 participants