This commit is contained in:
despiegk 2025-04-09 08:43:20 +02:00
parent 14b2bb2798
commit 19f52a8172

View File

@ -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