mirror of
https://github.com/MingweiSamuel/Riven.git
synced 2024-12-26 10:56:34 +00:00
Fix typos in doc comments
This commit is contained in:
parent
62f323da88
commit
9f5935a3f5
1 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ pub enum RegionalRoute {
|
|||
#[derive(Clone, Copy)]
|
||||
#[repr(u8)]
|
||||
#[non_exhaustive]
|
||||
// Note: strum(serialize = ...) actuall specifies extra DEserialization values.
|
||||
// Note: strum(serialize = ...) actually specifies extra DEserialization values.
|
||||
pub enum PlatformRoute {
|
||||
/// Brazil.
|
||||
#[strum(to_string="BR1", serialize="BR")]
|
||||
|
@ -83,7 +83,7 @@ pub enum PlatformRoute {
|
|||
|
||||
impl PlatformRoute {
|
||||
/// 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 {
|
||||
match self {
|
||||
Self::BR1 => RegionalRoute::AMERICAS,
|
||||
|
|
Loading…
Reference in a new issue