diff options
author | Zac Pullar-Strecker <[email protected]> | 2020-08-25 05:44:36 +0100 |
---|---|---|
committer | Zac Pullar-Strecker <[email protected]> | 2020-08-25 05:44:36 +0100 |
commit | b835f06cecd2189cb32a431fdb85245fbf53032a (patch) | |
tree | 8bb4ba65f4922e9cca571a7d4a7fa17d047ae779 /crates/assists/src/assist_context.rs | |
parent | 452afaebe188251cd4403e56999bf8b58de4fba9 (diff) | |
parent | ef9cea945d5767e7c60d5931a7649a73caea23ad (diff) |
Merge remote-tracking branch 'upstream/master' into 503-hover-doc-links
Diffstat (limited to 'crates/assists/src/assist_context.rs')
-rw-r--r-- | crates/assists/src/assist_context.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/crates/assists/src/assist_context.rs b/crates/assists/src/assist_context.rs index 11c171fc2..bf520069e 100644 --- a/crates/assists/src/assist_context.rs +++ b/crates/assists/src/assist_context.rs | |||
@@ -73,10 +73,6 @@ impl<'a> AssistContext<'a> { | |||
73 | self.sema.db | 73 | self.sema.db |
74 | } | 74 | } |
75 | 75 | ||
76 | pub(crate) fn source_file(&self) -> &SourceFile { | ||
77 | &self.source_file | ||
78 | } | ||
79 | |||
80 | // NB, this ignores active selection. | 76 | // NB, this ignores active selection. |
81 | pub(crate) fn offset(&self) -> TextSize { | 77 | pub(crate) fn offset(&self) -> TextSize { |
82 | self.frange.range.start() | 78 | self.frange.range.start() |