Skip to content

Commit 7871838

Browse files
committed
Fix docs generation on docs.rs
rust-lang/rust#138907
1 parent d5cc8d9 commit 7871838

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ flate2_rust = ["flate2/rust_backend"]
7171
[package.metadata.docs.rs]
7272
# Enable all features when generating documentation on docs.rs
7373
all-features = true
74-
# Enable unstable doc_auto_cfg feature on docs.rs to generate annotations
74+
# Enable unstable doc_cfg feature on docs.rs to generate annotations
7575
# for items that are behind a feature.
7676
#
7777
# To use this locally, run:

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#![doc(html_logo_url = "https://github.com/yeslogic/allsorts/raw/master/allsorts.svg?sanitize=1")]
33
// Adds Cargo feature annotations to items in the rustdoc output. Nightly
44
// only, so behind a feature gate for now (which is enabled on docs.rs).
5-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
5+
#![cfg_attr(docsrs, feature(doc_cfg))]
66

77
//! # Font parser, shaping engine, and subsetter
88
//!

0 commit comments

Comments
 (0)