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

Fix grammar in tutorial #15141

Closed
wants to merge 1 commit into from
Closed

Fix grammar in tutorial #15141

wants to merge 1 commit into from

Conversation

Dominator008
Copy link
Contributor

"as this document" should be "than this document"

"as this document" should be "than this document"
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 17, 2023
Fix runnable detection for `#[tokio::test]`

fix rust-lang#15141

It is hacky, and it wouldn't work for e.g. this case:
```Rust
use ::core::prelude;

#[prelude::v1::test]
fn foo() {
}
```
But it works for the tokio case. We should use the name resolution here somehow, and after that we should probably also get rid of the ast based `test_related_attribute` function.
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.

None yet

1 participant