diff options
author | 2023-09-20 04:33:48 +0200 | |
---|---|---|
committer | 2023-09-20 04:33:48 +0200 | |
commit | 6c386e90a12fd26da12541da3f086dddb7211c0c (patch) | |
tree | 9f1fd02a8814b80320bbd4b4df85fb8c7cb65ff9 /core/src/mouse | |
parent | 34f07b60273d6cfe13834af54cd0e24d34569387 (diff) | |
download | iced-6c386e90a12fd26da12541da3f086dddb7211c0c.tar.gz iced-6c386e90a12fd26da12541da3f086dddb7211c0c.tar.bz2 iced-6c386e90a12fd26da12541da3f086dddb7211c0c.zip |
Fix `clippy::trivially-copy-pass-by-ref`
Diffstat (limited to 'core/src/mouse')
-rw-r--r-- | core/src/mouse/click.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/mouse/click.rs b/core/src/mouse/click.rs index 240e5c64..53354098 100644 --- a/core/src/mouse/click.rs +++ b/core/src/mouse/click.rs @@ -24,7 +24,7 @@ pub enum Kind { } impl Kind { - fn next(&self) -> Kind { + fn next(self) -> Kind { match self { Kind::Single => Kind::Double, Kind::Double => Kind::Triple, |