cmetal 0.5.0

A self-contained learning environment for advanced C, inspired by rustlings
1
2
3
4
5
6
7
8
9
10
11
12
//! Error text shared by more than one module.
//!
//! A message that two modules must agree on does not belong to either
//! of them: putting it in one makes the other depend on it for
//! presentation, which is the wrong direction. This is where those
//! messages live instead.

/// Reported when a name does not match any exercise, whether it was
/// resolved against `info.toml` or against the learner's progress.
pub fn exercise_not_found(name: &str) -> String {
    format!("Exercise '{name}' not found")
}