Remove unused code
This commit is contained in:
parent
c7529b82b7
commit
463700482f
11
src/lib.rs
11
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<String, Import>,
|
||||
/// usages of imported things
|
||||
/// ie `other_module::scalar`
|
||||
import_usages: HashMap<String, Vec<ExternalUsage>>,
|
||||
/// Imports of modules
|
||||
///
|
||||
/// These modules are used along side `import_usages`
|
||||
|
|
Loading…
Reference in New Issue