Skip to content

fixed a typo in traits.md #1009

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

Merged
merged 1 commit into from
Apr 22, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fixed a typo in traits.md
line 46: Trait functions are **are** not allowed to be [`async`] or [`const`].
now: Trait functions are not allowed to be [`async`] or [`const`].
adsick authored Apr 22, 2021

Verified

This commit was signed with the committer’s verified signature.
kemuru Marino
commit 47ccc3831cf9ee71b92b918188075b28de18a136
2 changes: 1 addition & 1 deletion src/items/traits.md
Original file line number Diff line number Diff line change
@@ -43,7 +43,7 @@ trait Example {
}
```

Trait functions are are not allowed to be [`async`] or [`const`].
Trait functions are not allowed to be [`async`] or [`const`].

## Trait bounds