From 33adf3335cd5527f2bd711c0d1488c1f268b6663 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johanna=20S=C3=B6rng=C3=A5rd?= <44257381+JSorngard@users.noreply.github.com> Date: Fri, 29 Nov 2024 14:23:10 +0100 Subject: [PATCH] Add some whitespace around code blocks (#89) * Add some whitespace around code blocks * cargo fmt --- src/check.rs | 1 + src/count.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/check.rs b/src/check.rs index 3cc1269..1c5b3ef 100644 --- a/src/check.rs +++ b/src/check.rs @@ -12,6 +12,7 @@ use crate::integer_math::{mod_mul, mod_pow}; /// # Example /// /// Basic usage: +/// /// ``` /// # use const_primes::is_prime; /// const CHECK: bool = is_prime(18_446_744_073_709_551_557); diff --git a/src/count.rs b/src/count.rs index 9426ae7..3bf6b21 100644 --- a/src/count.rs +++ b/src/count.rs @@ -7,6 +7,7 @@ use crate::sieve; /// # Example /// /// Basic usage +/// /// ``` /// # use const_primes::prime_pi; /// const COUNTS: [usize; 10] = prime_pi();