Silence dead_code lint

This commit is contained in:
Niklas Mohrin 2025-02-24 01:52:01 +01:00
commit 5c8b05506b
No known key found for this signature in database
GPG key ID: 0ACD89A5C1DEB3EB

View file

@ -16,6 +16,7 @@ pub enum PageSnippet<T> {
Linebreak,
}
#[cfg_attr(not(test), allow(dead_code))]
impl<T> PageSnippet<T> {
pub fn map<F, U>(self, f: F) -> PageSnippet<U>
where