Clippy is mad because HNil implements Copy, so an inherent method HNil::to_ref(&self) -> Self implies a costlier operation than it actually is. What it doesn't understand is that this method is being generated by a macro, and needs to match similar methods on other types.
https://github.com/lloydmeta/frunk/runs/2853440952
Clippy is mad because HNil implements Copy, so an inherent method
HNil::to_ref(&self) -> Self
implies a costlier operation than it actually is. What it doesn't understand is that this method is being generated by a macro, and needs to match similar methods on other types.Probably just want to ignore this.