From 0227f261d10de0b132173e9ab014ebc86c89b189 Mon Sep 17 00:00:00 2001 From: "linksplatform-sweepai[bot]" <144652594+linksplatform-sweepai[bot]@users.noreply.github.com> Date: Fri, 29 Sep 2023 17:48:30 +0000 Subject: [PATCH] feat: Updated src/main.rs --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 1642263..8f9ef0a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,4 @@ -use doublets::{data::LinkType, mem, unit, Doublets, Error}; +use doublets::{data::LinkType, mem, unit, Doublets, Error, Link}; use doublets::{DoubletsExt, Links}; use tap::Pipe; @@ -67,7 +67,7 @@ fn nand(a: bool, b: bool) -> bool { !(a && b) } -fn get_link_by_id(store: &mut unit::Store, id: usize) -> Result, Error> { +fn get_link_by_id(store: &mut unit::Store, id: usize) -> Result, Error> { // `any` constant denotes any link let any = store.constants().any; let mut link_result = Err(Error::new("Link not found"));