File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -535,7 +535,7 @@ impl<Http: HttpClient> Index<Http> {
535535 Error :: MeilisearchCommunication ( MeilisearchCommunicationError {
536536 status_code : error. status_code ,
537537 url : error. url ,
538- message : Some ( format ! ( "{}." , MEILISEARCH_VERSION_HINT ) ) ,
538+ message : Some ( format ! ( "{MEILISEARCH_VERSION_HINT }." ) ) ,
539539 } )
540540 }
541541 Error :: Meilisearch ( error) => Error :: Meilisearch ( MeilisearchError {
Original file line number Diff line number Diff line change @@ -122,10 +122,7 @@ pub fn parse_response<Output: DeserializeOwned>(
122122 } ;
123123 }
124124
125- warn ! (
126- "Expected response code {}, got {}" ,
127- expected_status_code, status_code
128- ) ;
125+ warn ! ( "Expected response code {expected_status_code}, got {status_code}" ) ;
129126
130127 match from_str :: < MeilisearchError > ( body) {
131128 Ok ( e) => Err ( Error :: from ( e) ) ,
You can’t perform that action at this time.
0 commit comments