Skip to content

Commit df72e91

Browse files
committed
Rely on default span in format_ident
1 parent 58fcf67 commit df72e91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/expand.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ fn transform_block(
233233
return;
234234
}
235235

236-
let inner = format_ident!("__{}", sig.ident, span = sig.ident.span());
236+
let inner = format_ident!("__{}", sig.ident);
237237
let args = sig.inputs.iter().enumerate().map(|(i, arg)| match arg {
238238
FnArg::Receiver(_) => quote!(self),
239239
FnArg::Typed(arg) => {

0 commit comments

Comments
 (0)