mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-13 15:33:53 +00:00
4f4abf4e06
Warn about assignments where left-hand side place expression is the same as right-hand side value expression. For example, warn about assignment in: ```rust pub struct Event { id: usize, x: i32, y: i32, } pub fn copy_position(a: &mut Event, b: &Event) { a.x = b.x; a.y = a.y; } ``` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |