From 463700482ff84ba43efbb56f49d2bfd9501a8da2 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Fri, 9 Aug 2024 15:14:34 -0400 Subject: [PATCH] Remove unused code --- src/lib.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index b1c9164..3784983 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -19,14 +19,6 @@ pub enum ExternalUsageType { Function, } -#[derive(Clone)] -pub struct ExternalUsage { - name: String, - ty: ExternalUsageType, - /// The start byte position as a `usize`. - start_pos: usize, -} - #[derive(Clone)] pub struct Import { module: String, @@ -63,9 +55,6 @@ pub struct Module { /// Imports of things per module /// ie `other_module::{scalar, do_math_func}` item_imports: HashMap, - /// usages of imported things - /// ie `other_module::scalar` - import_usages: HashMap>, /// Imports of modules /// /// These modules are used along side `import_usages`