minor tweaks and proof-reading.

Signed-off-by: KtorZ <5680256+KtorZ@users.noreply.github.com>
This commit is contained in:
KtorZ 2025-02-09 16:53:58 +01:00
parent 451179fd49
commit d53f770d90
No known key found for this signature in database
GPG Key ID: 33173CB6F77F4277
3 changed files with 4 additions and 4 deletions

View File

@ -530,7 +530,7 @@ pub struct Benchmark {
unsafe impl Send for Benchmark {} unsafe impl Send for Benchmark {}
impl Benchmark { impl Benchmark {
pub const DEFAULT_MAX_SIZE: usize = 10; pub const DEFAULT_MAX_SIZE: usize = 30;
pub fn run( pub fn run(
self, self,

View File

@ -11,7 +11,7 @@ authors = [
"Kasey White <kwhitemsg@gmail.com>", "Kasey White <kwhitemsg@gmail.com>",
"KtorZ <matthias.benkort@gmail.com>", "KtorZ <matthias.benkort@gmail.com>",
] ]
rust-version = "1.70.0" rust-version = "1.80.0"
build = "build.rs" build = "build.rs"
[dependencies] [dependencies]

View File

@ -17,7 +17,7 @@ pub struct Args {
/// Path to project /// Path to project
directory: Option<PathBuf>, directory: Option<PathBuf>,
/// An initial seed to initialize the pseudo-random generator for property-tests. /// An initial seed to initialize the pseudo-random generator for benchmarks.
#[clap(long)] #[clap(long)]
seed: Option<u32>, seed: Option<u32>,
@ -29,7 +29,7 @@ pub struct Args {
/// Only run benchmarks if they match any of these strings. /// Only run benchmarks if they match any of these strings.
/// ///
/// You can match a module with `-m aiken/list` or `-m list`. /// You can match a module with `-m aiken/list` or `-m list`.
/// You can match a test with `-m "aiken/list.{map}"` or `-m "aiken/option.{flatten_1}"` /// You can match a benchmark with `-m "aiken/list.{map}"` or `-m "aiken/option.{flatten_1}"`
#[clap(short, long)] #[clap(short, long)]
match_benchmarks: Option<Vec<String>>, match_benchmarks: Option<Vec<String>>,