Fix up the challenge

This commit is contained in:
Nathan Stocks
2021-06-14 22:04:26 -06:00
parent c1d451049d
commit b2195031f8

View File

@@ -31,5 +31,14 @@ impl Pumpkin {
pub const BURNT_ORANGE: i32 = 13;
// Challenge: Move the Pumpkin struct's documentation *inside* of the struct definition. Can you
// see why that might not be the ideal approach?
// Challenge: Find the option to pass to `cargo doc` so that documentation for this private item
// gets generated as well. Hint: `cargo doc -h`
/// For internal use only. In fact, this documentation is so private that it won't be generated.
/// At least not by default.
enum PrivateEnum {
/// For Halloween. To be lit by candlelight.
JackOLantern,
/// For dessert during North American winter holidays.
PumpkinPie,
}