Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: correct some bigquery README sample #247

Merged
merged 1 commit into from
Apr 5, 2024

Conversation

GriceTurrble
Copy link

No description provided.

Comment on lines +59 to +60
let mut iter = client.query::<Row>(project_id, request).await.unwrap();
while let Some(row) = iter.next().await.unwrap() {
Copy link
Author

Choose a reason for hiding this comment

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

Compiler complained here to "remove the generic" from iter.next::<Row>. Meanwhile, the documentation for client.query itself includes query::<Row> as the correct type annotation.

@yoshidan yoshidan merged commit db94b05 into yoshidan:main Apr 5, 2024
@yoshidan
Copy link
Owner

yoshidan commented Apr 5, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants