Skip to content

Commit

Permalink
Correct docstring of Primes<N>, bump version number, and add changes …
Browse files Browse the repository at this point in the history
…to log
  • Loading branch information
JSorngard committed Nov 13, 2024
1 parent 5ff6d1e commit b2d3ab9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

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

## 0.9.2

- Correct docstring of `Primes<N>`.

## 0.9.1

- Correct docstring of `Primes<N>::default`.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "const-primes"
authors = ["Johanna Sörngård <jsorngard@gmail.com>"]
version = "0.9.1"
version = "0.9.2"
edition = "2021"
license = "MIT OR Apache-2.0"
keywords = ["const", "primes", "no_std", "prime-numbers"]
Expand Down
6 changes: 3 additions & 3 deletions src/cache/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ use crate::{primes, Underlying};

// region: Primes<N>

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

0 comments on commit b2d3ab9

Please sign in to comment.