summaryrefslogtreecommitdiff
path: root/src/app_state.rs
diff options
context:
space:
mode:
authorMo Bitar <76752051+mo8it@users.noreply.github.com>2025-05-23 13:26:52 +0200
committerGitHub <noreply@github.com>2025-05-23 13:26:52 +0200
commit2267f996844475f45a96d9582e0ac0d40b4bce79 (patch)
tree94d0634e928e553ba1071fa405b787efb586e84d /src/app_state.rs
parente36dd7a1207ccf940ba820abc276fa465f45b531 (diff)
parentbf74a3d0a7ae3c0d12ba572fe1c2f1d711c6e530 (diff)
Merge pull request #2247 from rust-lang/website
Website
Diffstat (limited to 'src/app_state.rs')
-rw-r--r--src/app_state.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app_state.rs b/src/app_state.rs
index d1c45d4..f3f3481 100644
--- a/src/app_state.rs
+++ b/src/app_state.rs
@@ -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);