We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b68712 commit 469543bCopy full SHA for 469543b
soa-derive-internal/src/input.rs
@@ -104,7 +104,7 @@ impl Input {
104
}
105
106
_ => panic!("#[derive(StructOfArray)] only supports struct"),
107
- };
+ }
108
109
assert!(!fields.is_empty(), "#[derive(StructOfArray)] only supports struct with fields");
110
tests/zip.rs
@@ -129,11 +129,11 @@ impl Wrapper {
129
130
131
132
- fn particles(&self) -> ParticleSlice {
+ fn particles(&self) -> ParticleSlice<'_> {
133
self.particles.as_slice()
134
135
136
- fn particles_mut(&mut self) -> ParticleSliceMut {
+ fn particles_mut(&mut self) -> ParticleSliceMut<'_> {
137
self.particles.as_mut_slice()
138
139
0 commit comments