remove redundant NamedSource::name (shadows new SourceCode::name)

This commit is contained in:
Adam Curtis 2023-11-04 13:28:35 -04:00
parent 6bf9ff4775
commit 2906e58b59
1 changed files with 0 additions and 5 deletions

View File

@ -27,11 +27,6 @@ impl NamedSource {
}
}
/// Gets the name of this `NamedSource`.
pub fn name(&self) -> &str {
&self.name
}
/// Returns a reference the inner [`SourceCode`] type for this
/// `NamedSource`.
pub fn inner(&self) -> &(dyn SourceCode + 'static) {