We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c6f56b commit 853d059Copy full SHA for 853d059
src/exercise.rs
@@ -58,7 +58,7 @@ pub struct Exercise {
58
59
// An enum to track of the state of an Exercise.
60
// An Exercise can be either Done or Pending
61
-#[derive(PartialEq, Debug)]
+#[derive(PartialEq, Eq, Debug)]
62
pub enum State {
63
// The state of the exercise once it's been completed
64
Done,
@@ -67,7 +67,7 @@ pub enum State {
67
}
68
69
// The context information of a pending exercise
70
71
pub struct ContextLine {
72
// The source code that is still pending completion
73
pub line: String,
0 commit comments