From acadb2009bfa54b6ead979b5be8fbc9c187ad24c Mon Sep 17 00:00:00 2001 From: pepperoni21 Date: Sat, 11 Nov 2023 20:27:45 +0100 Subject: [PATCH] Fixed clippy error --- src/generation/options.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generation/options.rs b/src/generation/options.rs index a111b92..44dd423 100644 --- a/src/generation/options.rs +++ b/src/generation/options.rs @@ -58,7 +58,7 @@ impl GenerationOptions { self } - /// Sets the number of threads to use during computation. By default, Ollama will detect this for optimal performance. It is recommended to set this value to the number of physical CPU cores your system has (as opposed to the logical number of cores). + /// Sets the number of threads to use during computation. By default, Ollama will detect this for optimal performance. It is recommended to set this value to the number of physical CPU cores your system has (as opposed to the logical number of cores). pub fn num_thread(mut self, num_thread: u32) -> Self { self.num_thread = Some(num_thread); self