We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf678fa commit a4f1917Copy full SHA for a4f1917
src/model/channel/thread.rs
@@ -33,6 +33,8 @@ impl ThreadId {
33
guild_id: Option<GuildId>,
34
) -> Result<GuildThread> {
35
#[cfg(feature = "cache")]
36
+ // Ignore clippy, the two `if let`s must be separated
37
+ #[allow(clippy::collapsible_if)]
38
if let Some(cache) = cache_http.cache() {
39
if let Some(guild_id) = guild_id
40
&& let Some(guild) = cache.guild(guild_id)
0 commit comments