forked from mirror/Riven
Fix typos in doc comments
parent
62f323da88
commit
9f5935a3f5
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue