mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Fix clippy::identity_conversion
This commit is contained in:
parent
ed3d93b875
commit
40424d4222
16 changed files with 49 additions and 59 deletions
|
@ -34,10 +34,10 @@ impl salsa::Database for BatchDatabase {
|
|||
}
|
||||
|
||||
fn vfs_file_to_id(f: ra_vfs::VfsFile) -> FileId {
|
||||
FileId(f.0.into())
|
||||
FileId(f.0)
|
||||
}
|
||||
fn vfs_root_to_id(r: ra_vfs::VfsRoot) -> SourceRootId {
|
||||
SourceRootId(r.0.into())
|
||||
SourceRootId(r.0)
|
||||
}
|
||||
|
||||
impl BatchDatabase {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue