mirror of
https://github.com/MingweiSamuel/Riven.git
synced 2024-12-27 03:16:33 +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)]
|
#[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 a new issue