From bb99c7c4d139e01536cc05019c5722f81a13588d Mon Sep 17 00:00:00 2001 From: Arnaud Ritti <77437157+arnaud-ritti@users.noreply.github.com> Date: Sat, 7 Nov 2026 19:39:28 +0100 Subject: [PATCH] fix(plugins): collapse the tables fixture field guard (#2041) The tables test fixture's nested editable-field check tripped clippy::collapsible_if under -D warnings, failing the Plugins CI job. Collapsed it with unchanged behaviour and rebuilt the fixture. Co-authored-by: arnaud-ritti <77437157+arnaud-ritti@users.noreply.github.com> --- .../tests/fixtures/tables/dist/plugin.wasm | Bin 116494 -> 116488 bytes .../fixtures/tables/dist/plugin.wasm.sources | 2 +- .../tests/fixtures/tables/src/lib.rs | 10 +++++----- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/crates/ide-plugin/tests/fixtures/tables/dist/plugin.wasm b/crates/ide-plugin/tests/fixtures/tables/dist/plugin.wasm index 8ba901fb3660b23b1d2c8a17021f92c4c9193ed6..fe07409174910b513e2c7c96a8fcf2f1c5530565 100644 GIT binary patch delta 877 zcmaJ?GLJ0Tp$0T943z93i%u%l4Wb$*qDUAPk23wP*k)gg}bacF-Mi9e%h%=FNN z$MbS#OxvX9bX?HEjbF6=?F*Y&L7&Ck2e6_st}eh!fWudfJMl-H?LQr(@q(OnWNWfj zEOjMS%*6Lxmwb+2#5&D9ndLhBG9VI7T6>~DdGtT>rpA*y02325)R^*`FwCU1 zn?9?jAJW>TvC4E8U=AI+@$Kiqd%Lf}EGDP>)qtN$H0Y0FQHGw?Idp2gmC?OD9yRD6 z60B-bhpS|28E^GTlo^yJ-ij0X6=Xob_o*5bQlkiqoG&;+tWqQvLh1L+=>RtLNRAp^ zIYt=8W4Q@nr`5Url9sT%JqjP1641Rjik{8Og_z9^!q)bPVNPaBVT^)|P8IMFJm_QR z3|V-<5{orrD$biDU=Wwghq1P>9u}#quv`T;T6}7pz%UIfc84=6Z}~d7aJ^y*25_>n zi22^iN#&*#&X6KWSu$thTGbg=e7ZX6Zz_wWXhXF&1Rl``wfO)e^z&u*uO8D+S7rc) zXkR@9p@Ru*Zi#2G{Vi{pHMO1tC%$XVQ98G_#VDK@(w0P=0xq=1MM&?h6r+$_dbdFd zutJA#JeSkbHV*+eo)AmqZmA5DtJ3L5u?t`cYdT7p^_FMSwT@oE<6;o_Z9|IC-{v9$ z%a~^=g=K2CT$PZ+Is>IEs!K`0L$%%efL&!hUmX0j<>G#YrdGSL+J5P)J^tI%ViSxT F{{We9YPA3W delta 853 zcmaJ5zv-kq>kk0g!R#uRlXi0*DcHW_B8*|8X<#)7)((e@rW!K#r{6A<8K0z|Sq=Yh7Yu%gdNN80O~@RH zU~=APi#Tl-@mF>+bYpQ&BJ@yK&Rs>RXx*s_NRq^9!EcSDXRX;_T2$^L2(6bCPizyM zGnu6%P7}+CoDhbKoK5Q#0vKZ{C%qDOq*&D}g-sgFuTQ}b799ylxOcmb4&@2}kJ0CM zFgxo%fT#0Zus~<>%3`6D78DK;xKE>wEo^3Tmdcjdi+n480lnB?v4_P=70R zo<@cjGFYc)6jOC0%(mB`fO-5`pQW7-&(A4z^SIk>VChn~A?|OQQH4Vd&vBY+v|t8p zxH3%es$Y$V<)ey+EQIn@Iw`jRd_||v!R%6*nFf7r0KxDof^^n@kU$7Cn~p<>Ha68N u%A%S#C{Ae65}2cjH}ZkGqSong!DUY$|7g>XH1uzs*dJ Result<(), Error> { if view == "fields" { - if let ViewEvent::Field(key, value) = event { - if key == "editable" { - self.note = Some(value); - host::refresh_view("fields"); - } + if let ViewEvent::Field(key, value) = event + && key == "editable" + { + self.note = Some(value); + host::refresh_view("fields"); } return Ok(()); }