Satisfy more clippy.
This commit is contained in:
@@ -6,7 +6,7 @@ use std::prelude::v1::*;
|
||||
|
||||
/// A type representing the access mode of a function.
|
||||
#[derive(Debug, Clone, Copy, Eq, PartialEq, Ord, PartialOrd, Hash)]
|
||||
#[cfg_attr(feature = "metadata", derive(serde::Serialize))]
|
||||
#[cfg_attr(feature = "metadata", derive(serde::Serialize, serde::Deserialize))]
|
||||
#[cfg_attr(feature = "metadata", serde(rename_all = "camelCase"))]
|
||||
#[non_exhaustive]
|
||||
pub enum FnAccess {
|
||||
|
Reference in New Issue
Block a user