summaryrefslogtreecommitdiff
path: root/src/exercise.rs
AgeCommit message (Collapse)Author
2024-04-17Fix typomo8it
2024-04-17Add "dev update"mo8it
2024-04-16Use colors inside the testmo8it
2024-04-14Add terminal linksmo8it
2024-04-14Tolerate changes in the state filemo8it
2024-04-13Remove unused ContextLinemo8it
2024-04-12Show the final messagemo8it
2024-04-12Fix Display for Exercisemo8it
2024-04-12Deal with long stringsmo8it
2024-04-11Panic if there are no exercisesmo8it
2024-04-11Remove "I AM NOT DONE" and the verify mode and add AppStatemo8it
2024-04-10Add deny_unknown_fieldsmo8it
2024-04-08Merge importsmo8it
2024-04-07Remove the info_toml_content fieldmo8it
2024-04-07Some renamingsmo8it
2024-04-07Implement resettingmo8it
2024-04-07Return an error instead of exitingmo8it
2024-04-05Use the pretty format when testing even with -qmo8it
2024-04-01Make `cargo run` workmo8it
2024-03-31Remove redundant testmo8it
2024-03-31Some improvements to error handlingmo8it
2024-03-31Use Cargo instead of rustcmo8it
2024-03-30Fix testsmo8it
2024-03-28POC donemo8it
2024-03-28Remove unneeded ./ from relative pathsmo8it
2024-03-27Merge branch 'main' into performancemo8it
2024-03-27Merge pull request #1916 from mo8it/commandMo
Pipe the output of command to null instead of capturing and ignoring it
2024-03-26Derive Eq when PartialEq is derivedmo8it
2024-03-26Add commentsmo8it
2024-03-26Fix context of previous lines and improve readabilitymo8it
2024-03-25Pipe the output to null instead of capturing and ignoring itmo8it
2024-03-24Make "I AM NOT DONE" caselessmo8it
2024-03-24Replace regex with winnowmo8it
2024-03-24Optimize statemo8it
2023-10-16fix(watch): update the CLIPPY_CARGO_TOML_PATHmarkgreene74
... to reflect the changes to the exercise directory names. The path exercises/clippy replaced with exercises/22_clippy. closes #1726
2023-09-27fix(cli): stop littering pdb files on windowsDocWilco
2023-09-25Give a more helpful error when a file is missingjyn
Previously, this would just say "missing file". Now it shows the path of the file that was missing, which should make it easier to debug what went wrong.
2023-08-26Run clippy --fixmo8it
2023-02-05Fix the problem of different edition between rustc and rust-analyzerwjwrh
2022-10-12Apply uninlined-format-args clippy lintYuri Astrakhan
This lint should also be applied to the excersies, but I am not certain how to run it for all non-crate individual files. To re-run: ``` rustup run nightly cargo clippy --fix -- -A clippy::all -W clippy::uninlined_format_args ```
2022-07-01change edition to 2021 in exercices.rs KatanaFluorescent
workaround for this issue https://github.com/rust-lang/rustlings/issues/1022
2022-02-04fix(clippy1): Set clippy::float_cmp lint to deny (#907)radicale
2021-12-24chore : replace filter_map() with find_map()Galih wisnuaji
2021-09-21fix(cli): typo in exercise.rs (#848)LIU JIE
2021-08-24 fix(cli): remove unnecessary borrows (#829)Ben Armstead
* Update dependencies * Format better and remove unnecessary borrows
2021-04-21feat: Replace clap with arghmokou
I’ve been wanting to do this for a while, but always procrastinated on it. We’ve been using Clap since the 2.0 rewrite, but Clap is known to be a fairly heavy library. Since Rustlings is usually peoples’ first contact with a Rust compilation, I think it’s in our best interests that this complation is as fast as possible. In effect, replacing Clap with the smaller, structopt-style `argh` reduces the amount of crates needing to be compiled from 82 to 60. I also think this makes the code way easier to read, we don’t need to use Clap’s methods anymore, but can switch over to using pure Rust methods, e.g., switches are booleans, options are Option<String>s or the like, and subcommands are just structs.
2021-04-18style: formatted files with rustfmtZerotask
2021-03-20refactor: change from match to if for NO_EMOJIMatt Lebl
2021-03-19feat: Replace emojis when NO_EMOJI env variable presentMatt Lebl
2021-03-12chore: fix typocircumspect
Co-authored-by: Chenkail <40770208+Chenkail@users.noreply.github.com>