summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/processors/resolver.rs2
-rw-r--r--src/types/source_unit.rs1
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()
-
}
}