@@ -252,7 +252,7 @@ impl Ingredient<Value> {
252252 pub fn all_quantities < ' a > (
253253 & ' a self ,
254254 all_ingredients : & ' a [ Self ] ,
255- ) -> impl Iterator < Item = & ScaledQuantity > {
255+ ) -> impl Iterator < Item = & ' a ScaledQuantity > {
256256 std:: iter:: once ( self . quantity . as_ref ( ) )
257257 . chain (
258258 self . relation
@@ -332,7 +332,7 @@ impl Cookware<Value> {
332332 }
333333
334334 /// Gets an iterator over all quantities of this ingredient and its references.
335- pub fn all_amounts < ' a > ( & ' a self , all_cookware : & ' a [ Self ] ) -> impl Iterator < Item = & Value > {
335+ pub fn all_amounts < ' a > ( & ' a self , all_cookware : & ' a [ Self ] ) -> impl Iterator < Item = & ' a Value > {
336336 std:: iter:: once ( self . quantity . as_ref ( ) )
337337 . chain (
338338 self . relation
@@ -533,9 +533,9 @@ pub struct Timer<V: QuantityValue = Value> {
533533 /// If created from parsing the following applies:
534534 ///
535535 /// - If the [`ADVANCED_UNITS`](crate::Extensions::ADVANCED_UNITS) extension
536- /// is enabled, this is guaranteed to have a time unit and a non text value.
536+ /// is enabled, this is guaranteed to have a time unit and a non text value.
537537 ///
538538 /// - If the [`TIMER_REQUIRES_TIME`](crate::Extensions::TIMER_REQUIRES_TIME)
539- /// extension is enabled, this is guaranteed to be [`Some`].
539+ /// extension is enabled, this is guaranteed to be [`Some`].
540540 pub quantity : Option < Quantity < V > > ,
541541}
0 commit comments