Skip to content

Commit 0b85332

Browse files
committed
Fix documentation build
Replace `doc_auto_cfg` with `doc_cfg`, see rust-lang/rust#138907 Fixes issues with docs.rs builds of Fontations crates.
1 parent 34e5237 commit 0b85332

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

font-types/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//!
33
//! [data types]: https://docs.microsoft.com/en-us/typography/opentype/spec/otff#data-types
44
5-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
5+
#![cfg_attr(docsrs, feature(doc_cfg))]
66
#![deny(rustdoc::broken_intra_doc_links)]
77
#![warn(clippy::doc_markdown)]
88
#![cfg_attr(not(feature = "std"), no_std)]

incremental-font-transfer/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
//!
99
//! Built on top of the read-fonts crate.
1010
11-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
11+
#![cfg_attr(docsrs, feature(doc_cfg))]
1212
#![forbid(unsafe_code)]
1313

1414
pub mod font_patch;

read-fonts/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
//! [NameString]: tables::name::NameString
5757
//! [table-directory]: https://learn.microsoft.com/en-us/typography/opentype/spec/otff#table-directory
5858
59-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
59+
#![cfg_attr(docsrs, feature(doc_cfg))]
6060
#![forbid(unsafe_code)]
6161
#![deny(rustdoc::broken_intra_doc_links)]
6262
#![cfg_attr(not(feature = "std"), no_std)]

skrifa/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
//! See the [readme](https://github.com/googlefonts/fontations/blob/main/skrifa/README.md)
1212
//! for additional details.
1313
14-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
14+
#![cfg_attr(docsrs, feature(doc_cfg))]
1515
#![forbid(unsafe_code)]
1616
#![cfg_attr(not(any(test, feature = "std")), no_std)]
1717

write-fonts/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
//! [`FromTableRef`]: from_obj::FromTableRef
135135
//! [`ToOwnedTable`]: from_obj::ToOwnedTable
136136
137-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
137+
#![cfg_attr(docsrs, feature(doc_cfg))]
138138

139139
mod collections;
140140
pub mod error;

0 commit comments

Comments
 (0)