Clippy error on struct size introduced by new rust version
bidoubiwa opened this issue · 2 comments
bidoubiwa commented
Since the last release of rust, a new clippy error is introduced checking the size of the structures.
See this issue: rust-lang/rust-clippy#9538
These are expected to be less than 200bytes
For example:
251 | pub fn try_make_index(self, client: &Client) -> Result<Index, Self> {
| ^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 200 bytes
We should find a way to fix this error by boxing the correct structures/fields.
bidoubiwa commented
bidoubiwa commented
Fixed with clippy update