You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
The functions:
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)]
tocrates/server/src/lib.rs
for the time being so other PRs may pass.The text was updated successfully, but these errors were encountered: