diff options
Diffstat (limited to 'crates/hir')
-rw-r--r-- | crates/hir/src/semantics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir/src/semantics.rs b/crates/hir/src/semantics.rs index 945638cc5..69370ef3d 100644 --- a/crates/hir/src/semantics.rs +++ b/crates/hir/src/semantics.rs | |||
@@ -774,7 +774,7 @@ fn find_root(node: &SyntaxNode) -> SyntaxNode { | |||
774 | /// | 774 | /// |
775 | /// Note that if you are wondering "what does this specific existing name mean?", | 775 | /// Note that if you are wondering "what does this specific existing name mean?", |
776 | /// you'd better use the `resolve_` family of methods. | 776 | /// you'd better use the `resolve_` family of methods. |
777 | #[derive(Debug)] | 777 | #[derive(Debug, Clone)] |
778 | pub struct SemanticsScope<'a> { | 778 | pub struct SemanticsScope<'a> { |
779 | pub db: &'a dyn HirDatabase, | 779 | pub db: &'a dyn HirDatabase, |
780 | file_id: HirFileId, | 780 | file_id: HirFileId, |