From a0f102cdb010e11230ab343da929d91cb1b3e9f3 Mon Sep 17 00:00:00 2001 From: Remo Senekowitsch Date: Wed, 10 Jul 2024 20:12:34 +0200 Subject: [PATCH] grep: remove suggestion of unavailable crates clap and structopt are not available in the test runner. This is because their derive-API (which is the most popular) takes too long to compile. --- exercises/practice/grep/src/lib.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/exercises/practice/grep/src/lib.rs b/exercises/practice/grep/src/lib.rs index 9ef2c9d22..f64031266 100644 --- a/exercises/practice/grep/src/lib.rs +++ b/exercises/practice/grep/src/lib.rs @@ -5,13 +5,7 @@ use anyhow::Error; /// both more convenient and more idiomatic to contain runtime configuration in /// a dedicated struct. Therefore, we suggest that you do so in this exercise. /// -/// In the real world, it's common to use crates such as [`clap`] or -/// [`structopt`] to handle argument parsing, and of course doing so is -/// permitted in this exercise as well, though it may be somewhat overkill. -/// -/// [`clap`]: https://crates.io/crates/clap /// [`std::env::args`]: https://doc.rust-lang.org/std/env/fn.args.html -/// [`structopt`]: https://crates.io/crates/structopt #[derive(Debug)] pub struct Flags;