Skip to content

Commit 521d424

Browse files
japaricAfoHT
authored andcommitted
appease clippy
1 parent 1a90c93 commit 521d424

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parse/actor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ impl Parse for Subscribe {
144144
let _: Token![,] = content.parse()?;
145145
let ident: Ident = content.parse()?;
146146

147-
if ident.to_string() == "capacity" {
147+
if ident == "capacity" {
148148
let _: Token![=] = content.parse()?;
149149
Some(content.parse()?)
150150
} else {

0 commit comments

Comments
 (0)