docs: add explaining comments

This commit is contained in:
Matouš Volf
2024-09-06 07:39:12 +02:00
parent 50e375212c
commit fb66a19a09
2 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,8 @@ use crate::components::pages::not_found_page::NotFoundPage;
use crate::components::layout::Layout;
use dioxus::prelude::*;
// All variants have the same postfix because they have to match the component names.
#[allow(clippy::enum_variant_names)]
#[derive(Clone, Routable, Debug, PartialEq)]
#[rustfmt::skip]
pub(crate) enum Route {