Mark some types as non_exhaustive.
This commit is contained in:
@@ -127,6 +127,7 @@ impl dyn Variant {
|
||||
/// _(internals)_ Modes of access.
|
||||
/// Exported under the `internals` feature only.
|
||||
#[derive(Debug, Eq, PartialEq, Hash, Copy, Clone)]
|
||||
#[non_exhaustive]
|
||||
pub enum AccessMode {
|
||||
/// Mutable.
|
||||
ReadWrite,
|
||||
|
Reference in New Issue
Block a user