logo
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Imported code documentation from an external file.
//!
//! # Note
//!
//! ```rust
//! #[doc(include = "../docs/example.md")]
//! fn my_func() {
//!   // Hidden implementation
//! }
//! ```
//!
//! [RFC: 1900-external-doc-attribute](https://github.com/rust-lang/rfcs/blob/master/text/1990-external-doc-attribute.md)
struct RFCs(u32);