diff --git a/reid-llvm-lib/src/builder.rs b/reid-llvm-lib/src/builder.rs index 26f7e19..c70665e 100644 --- a/reid-llvm-lib/src/builder.rs +++ b/reid-llvm-lib/src/builder.rs @@ -7,8 +7,7 @@ use crate::{ BlockData, CustomTypeKind, FunctionData, Instr, InstructionData, ModuleData, NamedStruct, TerminatorKind, Type, TypeData, debug_information::{ - DebugFileData, DebugInformation, DebugLocation, DebugLocationValue, DebugMetadataValue, - DebugProgramValue, + DebugInformation, DebugLocationValue, DebugMetadataValue, DebugProgramValue, }, util::match_types, }; diff --git a/reid-llvm-lib/src/compile.rs b/reid-llvm-lib/src/compile.rs index c932a8a..4e4a9a0 100644 --- a/reid-llvm-lib/src/compile.rs +++ b/reid-llvm-lib/src/compile.rs @@ -2,10 +2,7 @@ //! LLIR ([`Context`]) into LLVM IR. This module is the only one that interfaces //! with the LLVM API. -use std::{ - collections::HashMap, - ptr::{null, null_mut}, -}; +use std::{collections::HashMap, ptr::null_mut}; use llvm_sys::{ LLVMIntPredicate, LLVMLinkage, LLVMValueKind, diff --git a/reid-llvm-lib/src/debug_information.rs b/reid-llvm-lib/src/debug_information.rs index 65d81a4..3f5b3f6 100644 --- a/reid-llvm-lib/src/debug_information.rs +++ b/reid-llvm-lib/src/debug_information.rs @@ -1,7 +1,4 @@ -use std::{ - cell::{RefCell, RefMut}, - rc::Rc, -}; +use std::{cell::RefCell, rc::Rc}; #[derive(Debug, Clone, Hash, PartialEq, Eq)] pub struct DebugScopeValue(pub Vec); diff --git a/reid-llvm-lib/src/lib.rs b/reid-llvm-lib/src/lib.rs index 06563e4..6d6618c 100644 --- a/reid-llvm-lib/src/lib.rs +++ b/reid-llvm-lib/src/lib.rs @@ -7,8 +7,7 @@ use std::{fmt::Debug, marker::PhantomData}; use builder::{BlockValue, Builder, FunctionValue, InstructionValue, ModuleValue, TypeValue}; use debug::PrintableModule; use debug_information::{ - DebugFileData, DebugInformation, DebugLocation, DebugLocationValue, DebugMetadataValue, - DebugProgramValue, DebugScopeValue, + DebugFileData, DebugInformation, DebugLocationValue, DebugMetadataValue, DebugProgramValue, }; use util::match_types;