summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorBen Bridle <bridle.benjamin@gmail.com>2022-09-15 11:50:53 +1200
committerBen Bridle <bridle.benjamin@gmail.com>2022-09-15 11:59:47 +1200
commit3999fca9e671e262cdd0ec104e9f6f6cfb623dd4 (patch)
treede0b766dbf209da5ecf9350a678f98ff9fa6ebc5 /src/main.rs
parent6eee1102918857b11ecc193e684e2438520ef90f (diff)
downloadrecipe-3999fca9e671e262cdd0ec104e9f6f6cfb623dd4.zip
Fix parsing of ingredients with addendum but no unit
Where an ingredient has no unit (for example, 2 eggs), the parser was interpreting `{eggs, 2, large}` as "2, large of eggs", instead of as "2 eggs (large)".
Diffstat (limited to 'src/main.rs')
0 files changed, 0 insertions, 0 deletions