~ioiojo/kiwi

75da023de8678fbaee50d43f9c7bdc2b8b7a02df — Andy Weidenbaum 2 years ago c50f3e2
touch up doc comments
2 files changed, 3 insertions(+), 2 deletions(-)

M src/food.rs
M src/food_value.rs
M src/food.rs => src/food.rs +1 -1
@@ 964,7 964,7 @@ pub struct Composite {
    pub meta: Meta,

    /// `Env` is optional in `Composite` foods because macronutrient values — which would
    /// would otherwise have to be obtained by consulting an `Env` — can be automatically
    /// otherwise have to be obtained by consulting an `Env` — can be automatically
    /// derived from constituent foods comprising the `Composite`. Constituent foods are
    /// guaranteed to contain at least one `Simple` food¹.
    ///

M src/food_value.rs => src/food_value.rs +2 -1
@@ 192,7 192,8 @@ impl<'lua> ToLua<'lua> for AminoAcidsValue {
    }
}

/// `Simple` foods can return a singular `Fiber` value.
/// `Simple` foods can return a singular `Fiber` value, either sans percent insoluble or
/// qum percent insoluble.
///
/// `Composite` foods can return a singular `Fiber` value, or multiple `Fiber` values,
/// some sans percent insoluble, others qum percent insoluble. When multiple `Fiber`