make some enums non-exhaustive (#2140)
This commit is contained in:
1 parent
460a685fa3
commit
dadbab5d72
16 files changed
+28
-11
No files matched your search
@@ -343,6 +343,7 @@ impl SiteMapSegment {
|
||||
|
||||
/// The type of a route segment.
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
#[non_exhaustive]
|
||||
pub enum SegmentType {
|
||||
/// A static route segment.
|
||||
Static(&'static str),
|
||||
|
||||
Reference in new issue
Block a user