X-Git-Url: http://these/git/?a=blobdiff_plain;f=crates%2Futils%2Fsrc%2Futils%2Fmarkdown.rs;h=5f851589bdb500bfd93887dfff51d7d4ea9f89b8;hb=92568956353f21649ed9aff68b42699c9d036f30;hp=451c86bc73621f3ff008e500d79dd44fadb43c20;hpb=1c7bfd6be8068bc0726e5ce6063d04b5b40dfb14;p=lemmy.git diff --git a/crates/utils/src/utils/markdown.rs b/crates/utils/src/utils/markdown.rs index 451c86bc..5f851589 100644 --- a/crates/utils/src/utils/markdown.rs +++ b/crates/utils/src/utils/markdown.rs @@ -18,6 +18,9 @@ pub fn markdown_to_html(text: &str) -> String { #[cfg(test)] mod tests { + #![allow(clippy::unwrap_used)] + #![allow(clippy::indexing_slicing)] + use crate::utils::markdown::markdown_to_html; #[test]