diff options
author | Alan Du <[email protected]> | 2019-06-03 15:21:08 +0100 |
---|---|---|
committer | Alan Du <[email protected]> | 2019-06-04 23:05:07 +0100 |
commit | 40424d4222d4630bc53294d10f1718f2d3d300de (patch) | |
tree | 4e27c7f2ce4a886e9a512b4986509b0927ae9ea1 /crates/ra_batch/src | |
parent | ed3d93b875f25da6f81b8a107a8c200311240627 (diff) |
Fix clippy::identity_conversion
Diffstat (limited to 'crates/ra_batch/src')
-rw-r--r-- | crates/ra_batch/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_batch/src/lib.rs b/crates/ra_batch/src/lib.rs index a4a8462de..a445dcb4d 100644 --- a/crates/ra_batch/src/lib.rs +++ b/crates/ra_batch/src/lib.rs | |||
@@ -34,10 +34,10 @@ impl salsa::Database for BatchDatabase { | |||
34 | } | 34 | } |
35 | 35 | ||
36 | fn vfs_file_to_id(f: ra_vfs::VfsFile) -> FileId { | 36 | fn vfs_file_to_id(f: ra_vfs::VfsFile) -> FileId { |
37 | FileId(f.0.into()) | 37 | FileId(f.0) |
38 | } | 38 | } |
39 | fn vfs_root_to_id(r: ra_vfs::VfsRoot) -> SourceRootId { | 39 | fn vfs_root_to_id(r: ra_vfs::VfsRoot) -> SourceRootId { |
40 | SourceRootId(r.0.into()) | 40 | SourceRootId(r.0) |
41 | } | 41 | } |
42 | 42 | ||
43 | impl BatchDatabase { | 43 | impl BatchDatabase { |