mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
clippy::useless_return
This commit is contained in:
parent
75370312fb
commit
c50b4579ec
10 changed files with 15 additions and 15 deletions
|
@ -539,7 +539,7 @@ impl server::Literal for Rustc {
|
|||
} else {
|
||||
n.parse::<u128>().unwrap().to_string()
|
||||
};
|
||||
return Literal { text: n.into(), id: tt::TokenId::unspecified() };
|
||||
Literal { text: n.into(), id: tt::TokenId::unspecified() }
|
||||
}
|
||||
|
||||
fn typed_integer(&mut self, n: &str, kind: &str) -> Self::Literal {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue