From 5253be190b1cac16fe4f8658491959e15e52f1b3 Mon Sep 17 00:00:00 2001 From: Ben Bridle Date: Tue, 1 Apr 2025 17:07:49 +1300 Subject: Tidy source code --- src/processors/resolver.rs | 2 +- src/types/source_unit.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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, /// Pointers to source units that must be included before this unit. pub parent_ids: HashSet, 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() - } } -- cgit v1.2.3-70-g09d2