Skip to content

Conversation

@eureka-cpu
Copy link
Contributor

@eureka-cpu eureka-cpu commented Aug 9, 2022

Running into a problem that I'm assuming came from this, which is that clippy is complaining about IR using an unstable feature. cc @otrho any idea what I can do to fix it?

JK, somehow clippy is passing here but not on my machine...

Rust update fixed it

Closes #2499

@eureka-cpu eureka-cpu added forc code quality formatter breaking May cause existing user code to break. Requires a minor or major release. labels Aug 9, 2022
@eureka-cpu eureka-cpu added this to the swayfmt-v2 milestone Aug 9, 2022
@eureka-cpu eureka-cpu self-assigned this Aug 9, 2022
@otrho
Copy link
Contributor

otrho commented Aug 9, 2022

It'll be about bool::then_some() which is new. You just need to update your Rust.

@eureka-cpu
Copy link
Contributor Author

It'll be about bool::then_some() which is new. You just need to update your Rust.

I appreciate the swift reply <3

@eureka-cpu eureka-cpu removed the breaking May cause existing user code to break. Requires a minor or major release. label Aug 9, 2022
Copy link
Contributor

@mitchmindtree mitchmindtree left a comment

Choose a reason for hiding this comment

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

Nailed it!

Copy link
Member

@kayagokalp kayagokalp left a comment

Choose a reason for hiding this comment

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

looks perfect and a lot cleaner!

@eureka-cpu eureka-cpu enabled auto-merge (squash) August 10, 2022 17:53
@eureka-cpu eureka-cpu merged commit beb83b4 into master Aug 10, 2022
@eureka-cpu eureka-cpu deleted the eureka-cpu/2499 branch August 10, 2022 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use .get() instead of .clone().into_inner() when obtaining inner value from braces in sfv2

5 participants