diff options
author | Jeremy Kolb <[email protected]> | 2020-01-09 12:26:04 +0000 |
---|---|---|
committer | Jeremy Kolb <[email protected]> | 2020-01-09 12:26:04 +0000 |
commit | 6fc80efe7738af3b0d51e66591ea5451f45f6706 (patch) | |
tree | 1b189c592bf97596f4a89f7b6ea588bc600dc2e0 | |
parent | 9791b9c36a7b59f94c257b3ca019ae76e66a6879 (diff) |
visibility tweak
-rw-r--r-- | crates/ra_ide/src/references.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_ide/src/references.rs b/crates/ra_ide/src/references.rs index d1f52f808..5a3ec4eb9 100644 --- a/crates/ra_ide/src/references.rs +++ b/crates/ra_ide/src/references.rs | |||
@@ -534,11 +534,11 @@ mod tests { | |||
534 | } | 534 | } |
535 | 535 | ||
536 | impl Reference { | 536 | impl Reference { |
537 | pub fn debug_render(&self) -> String { | 537 | fn debug_render(&self) -> String { |
538 | format!("{:?} {:?} {:?}", self.file_range.file_id, self.file_range.range, self.kind) | 538 | format!("{:?} {:?} {:?}", self.file_range.file_id, self.file_range.range, self.kind) |
539 | } | 539 | } |
540 | 540 | ||
541 | pub fn assert_match(&self, expected: &str) { | 541 | fn assert_match(&self, expected: &str) { |
542 | let actual = self.debug_render(); | 542 | let actual = self.debug_render(); |
543 | test_utils::assert_eq_text!(expected.trim(), actual.trim(),); | 543 | test_utils::assert_eq_text!(expected.trim(), actual.trim(),); |
544 | } | 544 | } |