exit_code : ajout d'un nouveau nombre magique success

This commit is contained in:
Ahurac 2024-04-11 21:35:00 +02:00
parent 534de54613
commit 705e11fcab

View file

@ -14,4 +14,8 @@ impl ExitCode {
pub fn not_found() -> Self {
Self { exit_code: 127 }
}
pub fn success() -> Self {
Self { exit_code: 0 }
}
}