Skip to content

Commit

Permalink
rustdoc: change title of search results rust-lang#128253, rust-lang#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
Folyd committed Aug 21, 2024
1 parent 864fe1b commit 76945af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/html/static/js/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -3709,7 +3709,7 @@ async function search(forced) {
}

// Update document title to maintain a meaningful browser history
searchState.title = "Results for " + query.original + " - Rust";
searchState.title = "\"" + query.original + "\" Search - Rust";

// Because searching is incremental by character, only the most
// recent search query is added to the browser history.
Expand Down

0 comments on commit 76945af

Please sign in to comment.