Skip to content

Commit 439592b

Browse files
Remove outdated TODO comment
The span for the error looks fine.
1 parent 1fc7767 commit 439592b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

atomig-macro/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,6 @@ fn atom_impl_for_struct(s: &DataStruct) -> Result<TokenStream2, Error> {
114114

115115
let field_type = &field.ty;
116116
Ok(quote! {
117-
// TODO: this line should have the span of the field once
118-
// https://github.com/rust-lang/rust/issues/41817 is fixed
119117
type Repr = #field_type;
120118

121119
fn pack(self) -> Self::Repr {

0 commit comments

Comments
 (0)