diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-06-01 14:16:12 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-06-01 16:51:46 +0200 |
| commit | af10b08cc1bd5ef78c5c048a0cbc83b123f1ffd4 (patch) | |
| tree | 7916fca31328fef3e21d3bd62eca132369da81b0 /src/source.rs | |
| parent | 94b375ce550af1e18942c10c15d92163881a3213 (diff) | |
Documentation
Diffstat (limited to 'src/source.rs')
| -rw-r--r-- | src/source.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/source.rs b/src/source.rs index 61abcd92..507e4d20 100644 --- a/src/source.rs +++ b/src/source.rs @@ -141,7 +141,8 @@ impl SourceStore { self.sources[id.0 as usize].edit(replace, with) } - /// Map a span that points into this source store to a byte range. + /// Map a span that points into a [file](SourceFile::range) stored in this + /// source store to a byte range. /// /// Panics if the span does not point into this source store. pub fn range(&self, span: Span) -> Range<usize> { |
