refactor: made RepoFlags non exhaustive
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
This commit is contained in:
parent
98bcd7b79c
commit
d8197b2731
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ use crate::utils::strings::{failure_str, success_str};
|
||||||
|
|
||||||
/// An enum containing flags that change behaviour of repos and categories
|
/// An enum containing flags that change behaviour of repos and categories
|
||||||
#[derive(PartialOrd, Ord, PartialEq, Eq, Serialize, Deserialize, Debug)]
|
#[derive(PartialOrd, Ord, PartialEq, Eq, Serialize, Deserialize, Debug)]
|
||||||
|
#[non_exhaustive]
|
||||||
pub enum RepoFlags {
|
pub enum RepoFlags {
|
||||||
/// If clone is set, the repository should respond to the clone subcommand
|
/// If clone is set, the repository should respond to the clone subcommand
|
||||||
Clone,
|
Clone,
|
||||||
|
|
Loading…
Reference in a new issue