From ca8b2d0c97450cbbcb693bfe6b52650ea0b7b9cb Mon Sep 17 00:00:00 2001 From: Tshepang Mbambo Date: Thu, 24 Aug 2023 08:54:09 +0200 Subject: [PATCH] use AND search when having multiple terms This makes search more like like common search engines --- src/doc/book.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/doc/book.toml b/src/doc/book.toml index 1dd1f8e0f37..ae8280d28e3 100644 --- a/src/doc/book.toml +++ b/src/doc/book.toml @@ -6,3 +6,4 @@ author = "Alex Crichton, Steve Klabnik and Carol Nichols, with contributions fro curly-quotes = true # Enable smart-punctuation feature for more than quotes. git-repository-url = "https://github.com/rust-lang/cargo/tree/master/src/doc/src" edit-url-template = "https://github.com/rust-lang/cargo/edit/master/src/doc/{path}" +search.use-boolean-and = true