update
This commit is contained in:
parent
a01edcd898
commit
9cb4a9549d
|
@ -83,8 +83,6 @@ impl Journal for JSONJournal {
|
||||||
self.data.sustenances.get(sustenance_id).cloned()
|
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> {
|
fn get_ingestion_kinds(&self, kind: &IngestionKind, calculate: bool) -> Option<IngestionKinds> {
|
||||||
println!("{kind:#?}");
|
println!("{kind:#?}");
|
||||||
let mut kinds: IngestionKinds = IngestionKinds::from(kind);
|
let mut kinds: IngestionKinds = IngestionKinds::from(kind);
|
||||||
|
|
Loading…
Reference in a new issue