forked from mirror/Riven
1
0
Fork 0

Fix typos in doc comments

users/mingwei/unknown-variant-messy
Mingwei Samuel 2022-02-08 20:27:58 -08:00
parent 62f323da88
commit 9f5935a3f5
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ pub enum RegionalRoute {
#[derive(Clone, Copy)] #[derive(Clone, Copy)]
#[repr(u8)] #[repr(u8)]
#[non_exhaustive] #[non_exhaustive]
// Note: strum(serialize = ...) actuall specifies extra DEserialization values. // Note: strum(serialize = ...) actually specifies extra DEserialization values.
pub enum PlatformRoute { pub enum PlatformRoute {
/// Brazil. /// Brazil.
#[strum(to_string="BR1", serialize="BR")] #[strum(to_string="BR1", serialize="BR")]
@ -83,7 +83,7 @@ pub enum PlatformRoute {
impl PlatformRoute { impl PlatformRoute {
/// Converts this [`PlatformRoute`] into its corresponding /// Converts this [`PlatformRoute`] into its corresponding
/// [`RegionalRoute`]. Useful, for example, in [`match-v5` endpoints](crate::endpoints::MatchV5). /// [`RegionalRoute`]. Useful, for example, in [`match-v5` endpoints](crate::endpoints::MatchV5).
pub fn to_regional(self) -> RegionalRoute { pub fn to_regional(self) -> RegionalRoute {
match self { match self {
Self::BR1 => RegionalRoute::AMERICAS, Self::BR1 => RegionalRoute::AMERICAS,