...
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user