refactor: made RepoFlags non exhaustive

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
This commit is contained in:
Christina Sørensen 2023-07-17 11:00:14 +02:00
parent 98bcd7b79c
commit d8197b2731

View file

@ -30,6 +30,7 @@ use crate::utils::strings::{failure_str, success_str};
/// An enum containing flags that change behaviour of repos and categories
#[derive(PartialOrd, Ord, PartialEq, Eq, Serialize, Deserialize, Debug)]
#[non_exhaustive]
pub enum RepoFlags {
/// If clone is set, the repository should respond to the clone subcommand
Clone,