mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-29 22:10:31 +08:00
radicle: mark CheckoutError as non_exhaustive
Recently, this error enum was changed. To ensure it does not cause crate version changes, in the future, mark it as `non_exhaustive`.
This commit is contained in:
committed by
Lorenz Leutgeb
parent
5b260964cb
commit
59e09078bb
@@ -225,6 +225,7 @@ where
|
||||
}
|
||||
|
||||
#[derive(Error, Debug)]
|
||||
#[non_exhaustive]
|
||||
pub enum CheckoutError {
|
||||
#[error("failed to fetch to working copy: {0}")]
|
||||
FetchIo(#[source] std::io::Error),
|
||||
|
||||
Reference in New Issue
Block a user