Skip to content

Commit 99a5cb1

Browse files
jturner314bluss
authored andcommitted
Rename approx-0p5 feature to approx-0_5
1 parent 6a50e9d commit 99a5cb1

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ num-complex = { version = "0.4", default-features = false }
3434
rayon_ = { version = "1.0.3", optional = true, package = "rayon" }
3535

3636
approx = { version = "0.4", optional = true , default-features = false }
37-
approx-0p5 = { package = "approx", version = "0.5", optional = true , default-features = false }
37+
approx-0_5 = { package = "approx", version = "0.5", optional = true , default-features = false }
3838

3939
# Use via the `blas` crate feature!
4040
cblas-sys = { version = "0.1.4", optional = true, default-features = false }
@@ -65,7 +65,7 @@ serde-1 = ["serde"]
6565
test = []
6666

6767
# This feature is used for docs
68-
docs = ["approx", "approx-0p5", "serde", "rayon"]
68+
docs = ["approx", "approx-0_5", "serde", "rayon"]
6969

7070
std = ["num-traits/std", "matrixmultiply/std"]
7171
rayon = ["rayon_", "std"]

src/array_approx.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,5 +198,5 @@ macro_rules! impl_approx_traits {
198198
#[cfg(feature = "approx")]
199199
impl_approx_traits!(approx, "**Requires crate feature `\"approx\"`.**");
200200

201-
#[cfg(feature = "approx-0p5")]
202-
impl_approx_traits!(approx_0p5, "**Requires crate feature `\"approx-0p5\"`.**");
201+
#[cfg(feature = "approx-0_5")]
202+
impl_approx_traits!(approx_0_5, "**Requires crate feature `\"approx-0_5\"`.**");

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
//! - Implies std
9393
//! - `approx`
9494
//! - Enables implementations of traits from version 0.4 of the [`approx`] crate.
95-
//! - `approx-0p5`
95+
//! - `approx-0_5`
9696
//! - Enables implementations of traits from version 0.5 of the [`approx`] crate.
9797
//! - `blas`
9898
//! - Enable transparent BLAS support for matrix multiplication.
@@ -1598,7 +1598,7 @@ pub mod linalg;
15981598
mod impl_ops;
15991599
pub use crate::impl_ops::ScalarOperand;
16001600

1601-
#[cfg(any(feature = "approx", feature = "approx-0p5"))]
1601+
#[cfg(any(feature = "approx", feature = "approx-0_5"))]
16021602
mod array_approx;
16031603

16041604
// Array view methods

0 commit comments

Comments
 (0)