Skip to content

Commit

Permalink
Fix documentation format
Browse files Browse the repository at this point in the history
  • Loading branch information
jace-ys committed Mar 1, 2021
1 parent 12dd5ca commit 36d5846
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "redsync"
version = "0.1.1"
version = "0.1.2"
authors = ["jace-ys <[email protected]>"]
edition = "2018"
description = "A Rust implementation of Redlock for distributed locks with Redis"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Add the following line to your Cargo.toml file:

```toml
[dependencies]
redsync = "0.1.1"
redsync = "0.1.2"
```

## Documentation
Expand Down
7 changes: 4 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
//! # Installation
//!
//! Add the following line to your Cargo.toml file:
//! ```
//!
//! ```toml
//! [dependencies]
//! redsync = "0.1.1"
//! redsync = "0.1.2"
//! ```
//!
//! # Quick Start
//!
//! ```
//! ```rust
//! use std::error::Error;
//! use std::time::Duration;
//! use redsync::{RedisInstance, Redsync};
Expand Down

0 comments on commit 36d5846

Please sign in to comment.