diff options
| author | Ben Bridle <ben@derelict.engineering> | 2025-04-01 17:07:49 +1300 | 
|---|---|---|
| committer | Ben Bridle <ben@derelict.engineering> | 2025-04-01 17:08:03 +1300 | 
| commit | 5253be190b1cac16fe4f8658491959e15e52f1b3 (patch) | |
| tree | 7f613fc3f217eb7d556ff2b69dbf97777c7b398d | |
| parent | 648151b7684214a86e894d0ca813d7a89317722c (diff) | |
| download | assembler-5253be190b1cac16fe4f8658491959e15e52f1b3.zip | |
Tidy source code
| -rw-r--r-- | src/processors/resolver.rs | 2 | ||||
| -rw-r--r-- | src/types/source_unit.rs | 1 | 
2 files changed, 1 insertions, 2 deletions
diff --git a/src/processors/resolver.rs b/src/processors/resolver.rs index 6c1d0f1..969b817 100644 --- a/src/processors/resolver.rs +++ b/src/processors/resolver.rs @@ -282,7 +282,7 @@ impl Resolver {  /// A source unit tracked with pointers to parents and dependents.  pub struct HeirarchicalSourceUnit {      pub source_unit: SourceUnit, -    /// Pointers to source units that resolve references this unit. +    /// Pointers to source units that were included because of this unit.      pub child_ids: HashSet<usize>,      /// Pointers to source units that must be included before this unit.      pub parent_ids: HashSet<usize>, diff --git a/src/types/source_unit.rs b/src/types/source_unit.rs index 2fbbc61..77882c5 100644 --- a/src/types/source_unit.rs +++ b/src/types/source_unit.rs @@ -52,7 +52,6 @@ impl SourceUnit {      pub fn path(&self) -> String {          self.main.path.as_os_str().to_string_lossy().to_string() -      }  }  | 
