Skip to content

Commit edb6892

Browse files
Correct "cfg-if" crate name in README (#7)
* Correct "cfg-if" crate name in README Just found this issue while following the README example. * fix cfg-if reference in module docs Co-authored-by: Matthew Nicholson <matt@matt-land.com>
1 parent 07934ca commit edb6892

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ your code for non-release builds.
5050
`Cargo.toml`
5151
```toml
5252
[dependencies]
53-
cfg_if = "0.1"
53+
cfg-if = "0.1"
5454
log = "0.4"
5555
console_log = { version = "0.2", optional = true }
5656

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
//! `Cargo.toml`
5858
//! ```toml
5959
//! [dependencies]
60-
//! cfg_if = "0.1"
60+
//! cfg-if = "0.1"
6161
//! log = "0.4"
6262
//! console_log = { version = "0.2", optional = true }
6363
//!

0 commit comments

Comments
 (0)