mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-12 08:52:07 +00:00
lsp-server: Fix warnings about clippy str_to_string rule
This commit is contained in:
parent
c3699b9f32
commit
bffb8880d5
3 changed files with 7 additions and 7 deletions
|
|
@ -40,7 +40,7 @@ impl<I> Incoming<I> {
|
|||
let _data = self.complete(id.clone())?;
|
||||
let error = ResponseError {
|
||||
code: ErrorCode::RequestCanceled as i32,
|
||||
message: "canceled by client".to_string(),
|
||||
message: "canceled by client".to_owned(),
|
||||
data: None,
|
||||
};
|
||||
Some(Response { id, result: None, error: Some(error) })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue