mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-12 11:14:55 +02:00
9bdb0a12e4
Hints are now accessible using the CLI subcommand `rustlings hint <exercise name`. BREAKING CHANGE: This fundamentally changes the way people interact with exercises.
12 lines
259 B
Rust
12 lines
259 B
Rust
// tests2.rs
|
|
// This test has a problem with it -- make the test compile! Make the test
|
|
// pass! Make the test fail! Execute `rustlings hint tests2` for hints :)
|
|
|
|
#[cfg(test)]
|
|
mod tests {
|
|
#[test]
|
|
fn you_can_assert_eq() {
|
|
assert_eq!();
|
|
}
|
|
}
|