...
This commit is contained in:
parent
14b2bb2798
commit
19f52a8172
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user