Use correct array-init version

This commit is contained in:
Philipp Oppermann
2018-05-01 16:00:26 +02:00
parent 1242eabb55
commit 0aaeb52581
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ version = "1.0"
features = ["spin_no_std"]
[dev-dependencies]
array-init = { git = "https://github.com/Manishearth/array-init.git" } # "0.0.2"
array-init = "0.0.3"
# the profile used for `cargo build`
[profile.dev]

View File

@@ -246,7 +246,7 @@ To use that crate, we add the following to our `Cargo.toml`:
```toml
[dev-dependencies]
array-init = "0.0.2"
array-init = "0.0.3"
```
Note that we're using the [`dev-dependencies`] table instead of the `dependencies` table, because we only need the crate for `cargo test` and not for a normal build. Consequently, we also add a `#[cfg(test)]` attribute to the `extern crate` declaration in `main.rs`: