A simple example:
/// ```
/// println!("hello");
/// ```
And what I see when I run cargo doc:
It would be useful to show the output. Well, obviously not in this example.
A simple example:
/// ```
/// println!("hello");
/// ```
And what I see when I run cargo doc:
It would be useful to show the output. Well, obviously not in this example.
This is currently not possible, see this issue calling for the support of cargo test's --nocapture flag for doctests.