Skip to content

Conversation

413x1nkp
Copy link

this fixes warnings of float not being supported in pattern-matching

although this is uglier than the original, it produces no warnings during build

this fixes warnings of float not being supported in pattern-matching
@valadaptive
Copy link
Owner

There was actually an explicit #[allow(...)] here before, but Rust actually removed the lint warning in more recent versions.

@413x1nkp
Copy link
Author

There was actually an explicit #[allow(...)] here before, but Rust actually removed the lint warning in more recent versions.

So... uhh.. What would be the best solution then?

@valadaptive
Copy link
Owner

Update your Rust version (probably via rustup).

@413x1nkp
Copy link
Author

Update your Rust version (probably via rustup).

Yeah, that worked. Sorry, I'm just more used to package managers doing all the work for me lol

@413x1nkp 413x1nkp closed this Jun 28, 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.

2 participants