diff options
| author | mo8it <mo8it@proton.me> | 2024-05-13 21:40:40 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-05-13 21:40:40 +0200 |
| commit | d48e86b1540dcf649412c088cc50161f3e356e26 (patch) | |
| tree | 4c2e4c833ccb8797795e7a9e2858f6b2d8f140f9 /src/app_state.rs | |
| parent | 39a19f945008ef59af107fe54d9dc62943469c8b (diff) | |
Use public comments for public items
Diffstat (limited to 'src/app_state.rs')
| -rw-r--r-- | src/app_state.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/app_state.rs b/src/app_state.rs index b10ebb5..c7c090f 100644 --- a/src/app_state.rs +++ b/src/app_state.rs @@ -330,8 +330,8 @@ impl AppState { } } - // Official exercises: Dump the solution file form the binary and return its path. - // Third-party exercises: Check if a solution file exists and return its path in that case. + /// Official exercises: Dump the solution file form the binary and return its path. + /// Third-party exercises: Check if a solution file exists and return its path in that case. pub fn current_solution_path(&self) -> Result<Option<String>> { if DEBUG_PROFILE { return Ok(None); @@ -358,9 +358,9 @@ impl AppState { } } - // Mark the current exercise as done and move on to the next pending exercise if one exists. - // If all exercises are marked as done, run all of them to make sure that they are actually - // done. If an exercise which is marked as done fails, mark it as pending and continue on it. + /// Mark the current exercise as done and move on to the next pending exercise if one exists. + /// If all exercises are marked as done, run all of them to make sure that they are actually + /// done. If an exercise which is marked as done fails, mark it as pending and continue on it. pub fn done_current_exercise(&mut self, writer: &mut StdoutLock) -> Result<ExercisesProgress> { let exercise = &mut self.exercises[self.current_exercise_ind]; if !exercise.done { |
