You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
175: Enable the missing_inline_in_public_items clippy lint. r=jonas-schievink a=m-ou-se
This adds `#![deny(clippy::missing_inline_in_public_items)]` to make sure all functions in this crate are marked `#[inline]`, unless they are explicitly marked with `#[allow(clippy::missing_inline_in_public_items)]`.
Only three functions in this crate are not `#[inline]`:
- `write_words`
- `write_all`
- `write_aligned`
Additionally, the derived `Debug` impl's also have a non-inline implementations.
This unfortunately means that the allow attribute also needs to added to any types deriving `Debug`.
See also #171 and #174 (comment).
Co-authored-by: Mara Bos <[email protected]>
0 commit comments