third-party/custom -> community

This commit is contained in:
mo8it
2025-05-17 21:25:19 +02:00
parent f6a657a0c3
commit a51d6f1309
9 changed files with 28 additions and 29 deletions
+2 -2
View File
@@ -315,7 +315,7 @@ impl AppState {
}
// Official exercises: Dump the original file from the binary.
// Third-party exercises: Reset the exercise file with `git stash`.
// Community exercises: Reset the exercise file with `git stash`.
fn reset(&self, exercise_ind: usize, path: &str) -> Result<()> {
if self.official_exercises {
return EMBEDDED_FILES
@@ -385,7 +385,7 @@ impl AppState {
}
/// Official exercises: Dump the solution file from the binary and return its path.
/// Third-party exercises: Check if a solution file exists and return its path in that case.
/// Community exercises: Check if a solution file exists and return its path in that case.
pub fn current_solution_path(&self) -> Result<Option<String>> {
if cfg!(debug_assertions) {
return Ok(None);