summaryrefslogtreecommitdiff
path: root/src/exercise.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/exercise.rs')
-rw-r--r--src/exercise.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/exercise.rs b/src/exercise.rs
index a29b83a..6aa3b82 100644
--- a/src/exercise.rs
+++ b/src/exercise.rs
@@ -63,17 +63,6 @@ pub struct Exercise {
pub hint: String,
}
-// The context information of a pending exercise.
-#[derive(PartialEq, Eq, Debug)]
-pub struct ContextLine {
- // The source code line
- pub line: String,
- // The line number
- pub number: usize,
- // Whether this is important and should be highlighted
- pub important: bool,
-}
-
impl Exercise {
fn cargo_cmd(&self, command: &str, args: &[&str]) -> Result<Output> {
let mut cmd = Command::new("cargo");