From 19f52a817235a9bbe8fcb3707163dd769e758335 Mon Sep 17 00:00:00 2001 From: despiegk Date: Wed, 9 Apr 2025 08:43:20 +0200 Subject: [PATCH] ... --- doctreecmd/src/main.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doctreecmd/src/main.rs b/doctreecmd/src/main.rs index 4ee07f9..27f35e3 100644 --- a/doctreecmd/src/main.rs +++ b/doctreecmd/src/main.rs @@ -90,7 +90,7 @@ fn main() -> Result<()> { let doctree_name = matches.value_of("doctree").unwrap_or("default"); // Create a storage with the specified doctree name - let mut storage = RedisStorage::new("redis://localhost:6379")?; + let storage = RedisStorage::new("redis://localhost:6379")?; storage.set_doctree_name(doctree_name); // Create a DocTree with the specified doctree name @@ -116,7 +116,7 @@ fn main() -> Result<()> { let doctree_name = matches.value_of("doctree").unwrap_or("default"); // Create a storage with the specified doctree name - let mut storage = RedisStorage::new("redis://localhost:6379")?; + let storage = RedisStorage::new("redis://localhost:6379")?; storage.set_doctree_name(doctree_name); // Create a DocTree with the specified doctree name @@ -141,7 +141,7 @@ fn main() -> Result<()> { let doctree_name = matches.value_of("doctree").unwrap_or("default"); // Create a storage with the specified doctree name - let mut storage = RedisStorage::new("redis://localhost:6379")?; + let storage = RedisStorage::new("redis://localhost:6379")?; storage.set_doctree_name(doctree_name); // Create a DocTree with the specified doctree name @@ -159,7 +159,7 @@ fn main() -> Result<()> { let doctree_name = matches.value_of("doctree").unwrap_or("default"); // Create a storage with the specified doctree name - let mut storage = RedisStorage::new("redis://localhost:6379")?; + let storage = RedisStorage::new("redis://localhost:6379")?; storage.set_doctree_name(doctree_name); // Create a DocTree with the specified doctree name @@ -271,7 +271,7 @@ fn main() -> Result<()> { let doctree_name = matches.value_of("doctree").unwrap_or("default"); // Create a storage with the specified doctree name - let mut storage = RedisStorage::new("redis://localhost:6379")?; + let storage = RedisStorage::new("redis://localhost:6379")?; storage.set_doctree_name(doctree_name); // Create a DocTree with the specified doctree name @@ -287,7 +287,7 @@ fn main() -> Result<()> { let doctree_name = matches.value_of("doctree").unwrap_or("default"); // Create a storage with the specified doctree name - let mut storage = RedisStorage::new("redis://localhost:6379")?; + let storage = RedisStorage::new("redis://localhost:6379")?; storage.set_doctree_name(doctree_name); // Create a DocTree with the specified doctree name