Skip to content

Commit

Permalink
grep: remove suggestion of unavailable crates
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
senekor committed Jul 10, 2024
1 parent 1861d73 commit a0f102c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions exercises/practice/grep/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit a0f102c

Please sign in to comment.