Skip to content

Commit

Permalink
test: Fix broken doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
caleb-leinz committed Dec 12, 2024
1 parent e9a2af6 commit fafd46a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ impl<'a, T: 'a + Send + Sync> PaginatedErr<'a, T> for Error {
/// # async fn main() -> Result<(), Box<dyn std::error::Error>> {
/// # let config = Config::from_env()?;
/// # let client = Client::from_config(config);
/// let request: Site = client
/// let request = client
/// .get_request_by_id(42)
/// .await?
/// .await?;
///
/// println!("Created on {}", request.created); // Direct access to created field
/// // through the Container
Expand Down

0 comments on commit fafd46a

Please sign in to comment.