veilid/veilid-core
Salvatore Testa 5e55be4b7a
Make Target copy-able
Clippy also informed us that we can drop some of the clone calls.

```
❯ cargo clippy
    Checking veilid-core v0.2.5 (~/Developer/veilid/veilid-core)
error: using `clone` on type `Target` which implements the `Copy` trait
   --> veilid-core/src/storage_manager/record_store.rs:912:33
    |
912 |                         target: w.target.clone(),
    |                                 ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `w.target`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
note: the lint level is defined here
   --> veilid-core/src/lib.rs:25:9
    |
25  | #![deny(clippy::all)]
    |         ^^^^^^^^^^^
    = note: `#[deny(clippy::clone_on_copy)]` implied by `#[deny(clippy::all)]`

error: using `clone` on type `Target` which implements the `Copy` trait
   --> veilid-core/src/storage_manager/watch_value.rs:199:21
    |
199 |                     target.clone(),
    |                     ^^^^^^^^^^^^^^ help: try removing the `clone` call: `target`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy

error: using `clone` on type `Target` which implements the `Copy` trait
   --> veilid-core/src/storage_manager/mod.rs:737:17
    |
737 |                 vc.target.clone(),
    |                 ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `vc.target`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy

error: could not compile `veilid-core` (lib) due to 3 previous errors
```
2024-02-01 14:32:30 -08:00
..
proto switch to build hash from modtime for capnp generation 2024-01-20 21:52:23 -05:00
src Make Target copy-able 2024-02-01 14:32:30 -08:00
tests fix #337 2023-11-04 19:53:14 -04:00
.gitignore minor cleanup and pipeline test 2021-12-08 08:29:49 -05:00
build.rs clippy lint 2024-01-21 15:50:48 -05:00
Cargo.toml switch to build hash from modtime for capnp generation 2024-01-20 21:52:23 -05:00
LICENSE.md licensing 2023-07-19 12:48:44 -04:00
run_tests.sh 32 bit fix 2023-09-20 11:31:01 -04:00
run_windows_tests.bat fix async std test and make windows test script work 2023-09-06 09:53:28 -04:00
webdriver.json more test work 2022-11-30 21:32:41 -05:00