mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-26 07:14:17 -05:00
fix: re-add missing done comments
This commit is contained in:
parent
a6e86fc995
commit
a3c4c1ccb4
3 changed files with 6 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
||||||
// clippy3.rs
|
// clippy3.rs
|
||||||
// Here's a couple more easy Clippy fixes, so you can see its utility.
|
// Here's a couple more easy Clippy fixes, so you can see its utility.
|
||||||
|
|
||||||
|
// I AM NOT DONE
|
||||||
|
|
||||||
#[allow(unused_variables, unused_assignments)]
|
#[allow(unused_variables, unused_assignments)]
|
||||||
fn main() {
|
fn main() {
|
||||||
let my_option: Option<()> = None;
|
let my_option: Option<()> = None;
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
// - The output element is going to be a Vector of strings.
|
// - The output element is going to be a Vector of strings.
|
||||||
// Execute `rustlings hint quiz2` or use the `hint` watch subcommand for a hint.
|
// Execute `rustlings hint quiz2` or use the `hint` watch subcommand for a hint.
|
||||||
|
|
||||||
|
// I AM NOT DONE
|
||||||
|
|
||||||
pub enum Command {
|
pub enum Command {
|
||||||
Uppercase,
|
Uppercase,
|
||||||
Trim,
|
Trim,
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
// strings3.rs
|
// strings3.rs
|
||||||
// Execute `rustlings hint strings3` or use the `hint` watch subcommand for a hint.
|
// Execute `rustlings hint strings3` or use the `hint` watch subcommand for a hint.
|
||||||
|
|
||||||
|
// I AM NOT DONE
|
||||||
|
|
||||||
fn trim_me(input: &str) -> String {
|
fn trim_me(input: &str) -> String {
|
||||||
// TODO: Remove whitespace from the end of a string!
|
// TODO: Remove whitespace from the end of a string!
|
||||||
???
|
???
|
||||||
|
|
Loading…
Reference in a new issue