Skip to content

Commit b2d3ab9

Browse files
committed
Correct docstring of Primes<N>, bump version number, and add changes to log
1 parent 5ff6d1e commit b2d3ab9

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

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

5+
## 0.9.2
6+
7+
- Correct docstring of `Primes<N>`.
8+
59
## 0.9.1
610

711
- Correct docstring of `Primes<N>::default`.

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.9.1"
4+
version = "0.9.2"
55
edition = "2021"
66
license = "MIT OR Apache-2.0"
77
keywords = ["const", "primes", "no_std", "prime-numbers"]

src/cache/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ use crate::{primes, Underlying};
1313

1414
// region: Primes<N>
1515

16-
/// A wrapper around an array that consists of the first `N` primes. Can use those primes for related computations.
17-
///
18-
/// Can be created and used in const contexts, and if so it ensures that `N` is non-zero at compile time.
16+
/// A wrapper around an array that consists of the first `N` primes.
17+
/// Can use those primes for related computations.
18+
/// Ensures that `N` is non-zero at compile time.
1919
///
2020
/// # Examples
2121
///

0 commit comments

Comments
 (0)