Skip to content

Comments

Add as_mut_inner method#215

Open
wojciech-graj wants to merge 1 commit intoLokathor:mainfrom
wojciech-graj:main
Open

Add as_mut_inner method#215
wojciech-graj wants to merge 1 commit intoLokathor:mainfrom
wojciech-graj:main

Conversation

@wojciech-graj
Copy link

No description provided.

@Lokathor
Copy link
Owner

This CI fail is an msrv problem. I think our msrv policy is "Stable-20", so that's 1.72 currently. I forget when mutable refs in const fns was allowed, but we could make the fn not be const if necessary.

@Lokathor
Copy link
Owner

Or we could make it feature gated, that works too!

@wojciech-graj
Copy link
Author

Or we could make it feature gated, that works too!

Sorry, just saw this after already pushing the change you suggested. Give me a sec, I'll revert back to the feature-gated version.

@Lokathor
Copy link
Owner

Using older than the current stable rust is kinda "theoretical", so it's fine either way.

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