Skip to content

Commit

Permalink
chore: fix doc test
Browse files Browse the repository at this point in the history
  • Loading branch information
fekie committed May 24, 2023
1 parent 7d53f26 commit f128284
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/trades/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -477,12 +477,15 @@ impl Client {
/// # Examples
///
/// ```no_run
/// use roboat::Client;
/// use roboat::ClientBuilder;
/// use roboat::RoboatError;
///
/// const ROBLOSECURITY: &str = "roblosecurity";
///
/// # #[tokio::main]
/// # async fn main() -> Result<(), RoboatError> {
/// let client = Client::new();
/// let client = ClientBuilder::new().roblosecurity(ROBLOSECURITY.to_string()).build();
///
/// let trade_count = client.trade_count().await?;
///
/// println!("Total trades: {}", trade_count);
Expand Down

0 comments on commit f128284

Please sign in to comment.