File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ impl ServerHandler for MyServerHandler {
7777 ) -> std:: result:: Result < InitializeResult , RpcError > {
7878 runtime
7979 . set_client_details ( initialize_request. params . clone ( ) )
80+ . await
8081 . map_err ( |err| RpcError :: internal_error ( ) . with_message ( format ! ( "{err}" ) ) ) ?;
8182
8283 let mut server_info = runtime. server_info ( ) . to_owned ( ) ;
Original file line number Diff line number Diff line change @@ -1105,7 +1105,7 @@ fn test_extract_snippet_bug_37() {
11051105
11061106 let curly_pos = line. find ( "’" ) . unwrap ( ) ;
11071107
1108- println ! ( "Curly apostrophe at byte: {}" , curly_pos ) ; //position: 301
1108+ println ! ( "Curly apostrophe at byte: {curly_pos}" ) ; //position: 301
11091109
11101110 // Simulate a match just after the curly apostrophe
11111111 let match_start = curly_pos + 3 ; // Start of "followed"
@@ -1125,5 +1125,5 @@ fn test_extract_snippet_bug_37() {
11251125 Some ( backward_chars) ,
11261126 ) ;
11271127
1128- println ! ( "Snippet: {}" , result ) ;
1128+ println ! ( "Snippet: {result}" ) ;
11291129}
You can’t perform that action at this time.
0 commit comments