From 476194a37d83927425bb0aada090c1ad4dc3f696 Mon Sep 17 00:00:00 2001 From: Sven Marnach Date: Tue, 9 Jul 2019 23:32:38 +0200 Subject: [PATCH] Fix clippy error on beta. --- src/render.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/render.rs b/src/render.rs index 5f4f3c1415d..e0ffb569a24 100644 --- a/src/render.rs +++ b/src/render.rs @@ -192,7 +192,7 @@ fn markdown_to_html(text: &str, base_url: Option<&str>) -> String { /// Any readme with a filename ending in one of these extensions will be rendered as Markdown. /// Note we also render a readme as Markdown if _no_ extension is on the filename. -static MARKDOWN_EXTENSIONS: [&'static str; 7] = [ +static MARKDOWN_EXTENSIONS: [&str; 7] = [ ".md", ".markdown", ".mdown",