Skip to content

Commit

Permalink
Remove redundancy from example (redis-rs#918)
Browse files Browse the repository at this point in the history
The extern crate statement used to be an important part of rust, several years ago.

These days it's a point of confusion for newcomers without adding any value, and should be omitted.
  • Loading branch information
nilsmartel authored Aug 13, 2023
1 parent fe2a7df commit 7756b82
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ Many commands are implemented through the `Commands` trait but manual
command creation is also possible.

```rust
extern crate redis;
use redis::Commands;

fn fetch_an_integer() -> redis::RedisResult<isize> {
Expand Down

0 comments on commit 7756b82

Please sign in to comment.