littlefs2: Fix documentation build on docs.rs

The doc_auto_cfg feature has been replaced by doc_cfg in Rust 1.92.

Fixes: https://github.com/trussed-dev/littlefs2/issues/127
This commit is contained in:
Robin Krahl
2026-03-20 10:52:25 +01:00
parent 8563238ead
commit 2e644b3301
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Changed
- Documented the MSRV 1.87
- Fixed documentation build on docs.rs.
## [v0.7.0](https://github.com/trussed-dev/littlefs2/releases/tag/0.7.0) - 2026-03-09
+1 -1
View File
@@ -1,5 +1,5 @@
#![cfg_attr(not(test), no_std)]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![cfg_attr(docsrs, feature(doc_cfg))]
// FIXME
#![allow(clippy::missing_safety_doc)]