This commit is contained in:
chaos 2024-11-25 03:37:36 +00:00
parent a01edcd898
commit 9cb4a9549d

View file

@ -83,8 +83,6 @@ impl Journal for JSONJournal {
self.data.sustenances.get(sustenance_id).cloned()
}
// TODO: make error when substance depends on itself
// maybe track the IDs of sustenances visited as a mutable array?
fn get_ingestion_kinds(&self, kind: &IngestionKind, calculate: bool) -> Option<IngestionKinds> {
println!("{kind:#?}");
let mut kinds: IngestionKinds = IngestionKinds::from(kind);