Skip to content

Commit

Permalink
Apply rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunshine40 committed Jun 5, 2024
1 parent e6771d8 commit af1aca2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/renderer/html_handlebars/search.rs
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,8 @@ pub fn create_files(
utils::fs::write_file(destination, "elasticlunr.min.js", searcher::ELASTICLUNR_JS)?;
#[cfg(feature = "search-non-english")]
if extra_language_subtag.is_some() {
let language = potentially_supported_language.expect("non-English index is only built when specified");
let language = potentially_supported_language
.expect("non-English index is only built when specified");
utils::fs::write_file(
destination,
"lunr.stemmer.support.js",
Expand Down

0 comments on commit af1aca2

Please sign in to comment.