-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Description
The functions:
- Server: server/src/tags/query.rs:19
- Server: server/src/users/put.rs:17
have parameters like ref cx: UserContext,
, which are triggering this Clippy warning: almost_swapped. Best I can tell, that warning looks for code like: a = b; b = a;
, which is not what's happening in these functions.
However, removing the ref
keyword and using a &
borrow instead causes the project to not build due to a trait error.
I suggest adding #![allow(clippy::almost_swapped)]
to crates/server/src/lib.rs
for the time being so other PRs may pass.
Metadata
Metadata
Assignees
Labels
No labels