Skip to content

Commit b7e1755

Browse files
committed
Fixed rust formatting
1 parent f4b257d commit b7e1755

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

docs/develop/rust/index-rust.mdx

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -32,43 +32,43 @@ It exposes a general purpose interface to Redis and also provides specific helpe
3232

3333
### Step 1. Install Rust
3434

35-
```bash
36-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
37-
```
35+
```bash
36+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
37+
```
3838

3939
### Step 2. Configure your current shell:
4040

41-
```bash
42-
source $HOME/.cargo/env
43-
```
41+
```bash
42+
source $HOME/.cargo/env
43+
```
4444

4545
### Step 3. Verify Rust compiler:
4646

47-
```bash
48-
rustc --version
49-
rustc 1.49.0
50-
```
47+
```bash
48+
rustc --version
49+
rustc 1.49.0
50+
```
5151

5252
### Step 4. Creating Cargo.toml with Redis dependency:
5353

54-
```bash
55-
[dependencies]
56-
redis = "0.8.0"
57-
```
54+
```bash
55+
[dependencies]
56+
redis = "0.8.0"
57+
```
5858

5959

6060
### Step 5. Clone the repository
6161

62-
```bash
63-
git clone https://github.com/redis-developer/redis-rust-getting-started
64-
```
62+
```bash
63+
git clone https://github.com/redis-developer/redis-rust-getting-started
64+
```
6565

6666

6767
### Step 6. Run the application
6868

69-
```bash
70-
cargo run
71-
```
69+
```bash
70+
cargo run
71+
```
7272

7373
### Further References
7474

0 commit comments

Comments
 (0)