-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
docsrs
to detect being built on docs.rs (#82)
As described on <https://docs.rs/about/builds>, the correct way now to check for a build happening at docs.rs is to check for the `docsrs` cfg. This also prevents Rust 1.80 and later from warning about the `unexpected_cfg` for `docs`.
- Loading branch information
1 parent
0781b3b
commit b440063
Showing
3 changed files
with
2 additions
and
3 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