Skip to content

Commit fe36e55

Browse files
committed
Correct docstring and bump version
1 parent 2bf8691 commit fe36e55

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

CHANGELOG.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,18 @@
22

33
This file contains the changes to the crate since version 0.4.8.
44

5+
## 0.10.1
6+
7+
- Removed reference to no longer existing feature from docstring of `is_prime`.
8+
59
## 0.10.0
610

7-
- Remove the `fast_test` feature, as that needed a dependency that has
11+
- Removed the `fast_test` feature, as that needed a dependency that has
812
non-additive features.
913

1014
## 0.9.11
1115

12-
- Add back the `fast_test` feature, but make it do nothing.
16+
- Added back the `fast_test` feature, but made it do nothing.
1317
This fixes any breaking changes from the feature removal,
1418
in case someone had time to start using it and runs `cargo-update`.
1519

@@ -18,16 +22,16 @@ but running `cargo update` will never break anything, only slow things down.
1822

1923
## 🗑️ ~~0.9.10~~ Yanked because removing a feature is a breaking change
2024

21-
- Correct feature information in docs and readme.
25+
- Corrected feature information in docs and readme.
2226

2327
## 🗑️ ~~0.9.9~~ Yanked because removing a feature is a breaking change
2428

25-
- Publish a version that doesn't have the `fast_test` feature to enable
29+
- Published a version that doesn't have the `fast_test` feature to enable
2630
downstream users to just run `cargo update` after versions 0.9.7 and 0.9.8 are yanked.
2731

2832
## 🗑️ ~~0.9.8~~ Yanked because the dependency has non-additive features
2933

30-
- Make links to crates in the docs on docs.rs link to the docs of those crates
34+
- Made links to crates in the docs on docs.rs link to the docs of those crates
3135
on docs.rs.
3236

3337
## 🗑️ ~~0.9.7~~ Yanked because the dependency has non-additive features

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "const-primes"
33
authors = ["Johanna Sörngård <[email protected]>"]
4-
version = "0.10.0"
4+
version = "0.10.1"
55
edition = "2021"
66
license = "MIT OR Apache-2.0"
77
keywords = ["const", "primes", "no_std", "prime-numbers"]

src/check.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ use crate::integer_math::{mod_mul, mod_pow};
66
/// Does trial division with a small wheel up to `log2(n)` and then uses a
77
/// deterministic Miller-Rabin primality test.
88
///
9-
/// If the `fast_test` feature is enabled this function instead calls [`machine_prime::is_prime`] with the `small` feature.
10-
///
119
/// # Example
1210
///
1311
/// Basic usage:

0 commit comments

Comments
 (0)