Skip to content

Commit

Permalink
📚 Docs: example for get_records_leaderboard method [#73]
Browse files Browse the repository at this point in the history
  • Loading branch information
Rinrin0413 committed Nov 19, 2024
1 parent c133cba commit 42f3430
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ impl Client {
///
/// - Upper bound is `[500000, 0, 0]`
/// - Three entries
/// - Game mode: `blitz` (BLITZ)
/// - Game mode: `zenith` (QUICK PLAY)
/// - Scope: `JP` (Japan)
/// - Revolution ID: `@2024w31`
///
Expand All @@ -649,10 +649,10 @@ impl Client {
///
/// // Get the record leaderboard.
/// let user = client.get_records_leaderboard(
/// // Record leaderboard ID: `blitz_country_JP@2024w31`
/// // Record leaderboard ID: `zenith_country_JP@2024w31`
/// RecordsLeaderboardId::new(
/// // Game mode: `blitz` (BLITZ)
/// "blitz",
/// // Game mode: `zenith` (QUICK PLAY)
/// "zenith",
/// // Scope: `JP` (Japan)
/// Scope::Country("JP".to_string()),
/// // Revolution ID: `@2024w31`
Expand Down

1 comment on commit 42f3430

@Rinrin0413
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/example/improve example/

Please sign in to comment.