Commit 888162f7 authored by Ben Boeckel's avatar Ben Boeckel

doc: add a comment about the non_exhaustive feature

parent 0a0fe4ca
......@@ -21,6 +21,9 @@ use prepare::{GitWorkArea, WorkAreaResult};
pub struct CommitId(String);
/// Errors which may occur when working with workareas.
///
/// This enum is `non_exhaustive`, but cannot be marked as such until it is stable. In the
/// meantime, there is a hidden variant.
#[derive(Debug)]
// TODO: #[non_exhaustive]
pub enum GitError {
......
......@@ -42,6 +42,9 @@ pub enum SubmoduleIntent {
}
/// Errors which may occur when using a workarea.
///
/// This enum is `non_exhaustive`, but cannot be marked as such until it is stable. In the
/// meantime, there is a hidden variant.
#[derive(Debug)]
// TODO: #[non_exhaustive]
pub enum WorkAreaError {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment