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",