From b2d3ab90b35a18eb68d0170e62663b30d6e32ebd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johanna=20S=C3=B6rng=C3=A5rd?= Date: Wed, 13 Nov 2024 17:16:50 +0100 Subject: [PATCH] Correct docstring of Primes, bump version number, and add changes to log --- CHANGELOG.md | 4 ++++ Cargo.lock | 2 +- Cargo.toml | 2 +- src/cache/mod.rs | 6 +++--- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cd53af5..72996e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ This file contains the changes to the crate since version 0.4.8. +## 0.9.2 + +- Correct docstring of `Primes`. + ## 0.9.1 - Correct docstring of `Primes::default`. diff --git a/Cargo.lock b/Cargo.lock index 747a125..c574e9c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -101,7 +101,7 @@ checksum = "1462739cb27611015575c0c11df5df7601141071f07518d56fcc1be504cbec97" [[package]] name = "const-primes" -version = "0.9.1" +version = "0.9.2" dependencies = [ "criterion", "rand", diff --git a/Cargo.toml b/Cargo.toml index ae0b84f..5bdecb1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "const-primes" authors = ["Johanna Sörngård "] -version = "0.9.1" +version = "0.9.2" edition = "2021" license = "MIT OR Apache-2.0" keywords = ["const", "primes", "no_std", "prime-numbers"] diff --git a/src/cache/mod.rs b/src/cache/mod.rs index cf545bc..908f227 100644 --- a/src/cache/mod.rs +++ b/src/cache/mod.rs @@ -13,9 +13,9 @@ use crate::{primes, Underlying}; // region: Primes -/// 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 ///