-
Hello everybody, thank you for the great work!
I'm encountering a game breaking bug that I was able to reproduce.
Given a movieclip "clippy" and an interval that calls a gotoAndPlay(1) on it eve…
-
## Problem
Stylize introduces style and set_style. They are also implemented manually too.
[`clippy::same_name_method`](https://rust-lang.github.io/rust-clippy/master/index.html#same_name_method…
-
# What it does
Finds patterns that reimplement `Option::unwrap_or` or `Result::unwrap_or`.
# Why is this bad?
Concise code helps focusing on behavior instead of boilerplate.
# Example
`…
-
### Summary
There was a rustc ice on master which has been fixed but the code still crashes a clippy lint.
````rust
fn main() {
let s = [(); {
let mut n = 113383;
while n…
-
A majority of folks using derives for `Serialize/Deserialize` are likely trying to write REST APIs for json output. There exists a wonderful set of deserializers for RFC3339, ISO 8601, and RFC2822. Th…
-
I use the derive macro provided by the clap crate in my code, and then call the in_external_macro function in the context of a custom lint diagnostic code. The function determines that the code derive…
-
# What it does
Detects if-then-panic! that can be replaced with assert!.
# Why is this bad?
`assert!` is simpler than if-then-panic!.
# Example
```cairo
let sad_people: Array = arrray!…
-
Pedantic, yes, but. `InstatiateSwapError -> InstantiateSwapError`
https://github.com/Wasmswap/Junoswap/blob/3d07a8d134e88b912ff56aebb09aaa9b985177c7/contracts/factory/src/error.rs#L20
Not sure t…
-
-
`play.rust-lang.org` supports running code through clippy. Add this support to the bot so users can run code from discord through clippy.