-
Notifications
You must be signed in to change notification settings - Fork 701
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: better docs on async usage; fancy warning formatting, etc (#769)
This branch makes the following changes: - Add a new section to the `Span::enter` docs that explains why it should be avoided in async code, and suggests alternatives. - Add links to the new section elsewhere. - Add new formatting for "Notes" and "Warnings" in the documentation, by (mis?)using existing styles from the RustDoc stylesheet. - Fixed a handful of inaccuracies or outdated statements I noticed while making other changes. Fixes #667 Signed-off-by: Eliza Weisman <eliza@buoyant.io>
- Loading branch information
Showing
11 changed files
with
448 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.