Remove superfluous semicolons

Doesn't change the result of the test but it does prevent the
syntax tree from rendering.
This commit is contained in:
kjeremy 2019-03-08 16:45:26 -05:00
parent 011bd4b2fc
commit 27fc99776f

View file

@ -550,7 +550,7 @@ The Some variant
fn test_hover_infer_associated_method_result() { fn test_hover_infer_associated_method_result() {
let (analysis, position) = single_file_with_position( let (analysis, position) = single_file_with_position(
" "
struct Thing { x: u32 }; struct Thing { x: u32 }
impl Thing { impl Thing {
fn new() -> Thing { fn new() -> Thing {
@ -616,7 +616,7 @@ The Some variant
fn test_hover_self() { fn test_hover_self() {
let (analysis, position) = single_file_with_position( let (analysis, position) = single_file_with_position(
" "
struct Thing { x: u32 }; struct Thing { x: u32 }
impl Thing { impl Thing {
fn new() -> Self { fn new() -> Self {
Self<|> { x: 0 } Self<|> { x: 0 }
@ -630,7 +630,7 @@ The Some variant
let (analysis, position) = single_file_with_position( let (analysis, position) = single_file_with_position(
" "
struct Thing { x: u32 }; struct Thing { x: u32 }
impl Thing { impl Thing {
fn new() -> Self<|> { fn new() -> Self<|> {
Self { x: 0 } Self { x: 0 }
@ -644,7 +644,7 @@ The Some variant
let (analysis, position) = single_file_with_position( let (analysis, position) = single_file_with_position(
" "
enum Thing { A }; enum Thing { A }
impl Thing { impl Thing {
pub fn new() -> Self<|> { pub fn new() -> Self<|> {
Thing::A Thing::A
@ -658,7 +658,7 @@ The Some variant
let (analysis, position) = single_file_with_position( let (analysis, position) = single_file_with_position(
" "
enum Thing { A }; enum Thing { A }
impl Thing { impl Thing {
pub fn thing(a: Self<|>) { pub fn thing(a: Self<|>) {
} }