Skip to content

Commit

Permalink
Fix cluster example in deadpool-redis docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bikeshedder committed Dec 14, 2023
1 parent 4549fa2 commit 567a17d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion redis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ async fn main() {
### Example with `config` and `dotenv` crate

```rust
use deadpool_redis::redis::{cmd, FromRedisValue},
use deadpool_redis::redis::{cmd, FromRedisValue};
use deadpool_redis::cluster::{Runtime};
use dotenv::dotenv;
# use serde_1 as serde;
Expand Down
2 changes: 1 addition & 1 deletion redis/src/cluster/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use super::{CreatePoolError, Pool, PoolBuilder, PoolConfig, Runtime};
/// #[derive(serde::Deserialize)]
/// # #[serde(crate = "serde_1")]
/// struct Config {
/// redis_cluster: deadpool_redis_cluster::Config,
/// redis_cluster: deadpool_redis::cluster::Config,
/// }
///
/// impl Config {
Expand Down

0 comments on commit 567a17d

Please sign in to comment.