File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ impl ChannelId {
5656 ) -> Result < GuildChannel > {
5757 #[ cfg( feature = "cache" ) ]
5858 // Ignore clippy, the two `if let`s must be separated
59- #[ allow ( clippy:: collapsible_if) ]
59+ #[ expect ( clippy:: collapsible_if) ]
6060 if let Some ( cache) = cache_http. cache ( ) {
6161 if let Some ( guild_id) = guild_id
6262 && let Some ( guild) = cache. guild ( guild_id)
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ impl ThreadId {
3434 ) -> Result < GuildThread > {
3535 #[ cfg( feature = "cache" ) ]
3636 // Ignore clippy, the two `if let`s must be separated
37- #[ allow ( clippy:: collapsible_if) ]
37+ #[ expect ( clippy:: collapsible_if) ]
3838 if let Some ( cache) = cache_http. cache ( ) {
3939 if let Some ( guild_id) = guild_id
4040 && let Some ( guild) = cache. guild ( guild_id)
You can’t perform that action at this time.
0 commit comments