Skip to content

Commit f5d64b8

Browse files
committed
hide const_fn_trait_bounds from documentation
This is not a useful feature to document, since the function is always supported (`const` is the only thing that's gated).
1 parent af776e8 commit f5d64b8

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44

55
This project adheres to [Semantic Versioning](https://semver.org).
66

7+
## [1.0.3] - 2023-04-09
8+
9+
- Documentation improvements.
10+
711
## [1.0.2] - 2023-04-09
812

913
### Added
@@ -50,6 +54,7 @@ This project adheres to [Semantic Versioning](https://semver.org).
5054

5155
- Initial release.
5256

57+
[1.0.3]: https://github.com/sunshowers-code/buf-list/releases/tag/1.0.3
5358
[1.0.2]: https://github.com/sunshowers-code/buf-list/releases/tag/1.0.2
5459
[1.0.1]: https://github.com/sunshowers-code/buf-list/releases/tag/1.0.1
5560
[1.0.0]: https://github.com/sunshowers-code/buf-list/releases/tag/1.0.0

src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
#![forbid(unsafe_code)]
66
#![warn(missing_docs)]
7-
#![cfg_attr(doc_cfg, feature(doc_cfg, doc_auto_cfg))]
7+
#![cfg_attr(doc_cfg, feature(doc_cfg, doc_auto_cfg, doc_cfg_hide))]
8+
#![cfg_attr(doc_cfg, doc(cfg_hide(const_fn_trait_bounds)))]
89

910
//! A segmented list of [`bytes::Bytes`] chunks.
1011
//!

0 commit comments

Comments
 (0)