mirror of
https://github.com/tealdeer-rs/tealdeer.git
synced 2026-08-22 08:04:19 +02:00
Silence dead_code lint
This commit is contained in:
parent
f3650d160d
commit
5c8b05506b
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue