Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 392e6139 authored by Martin Geisler's avatar Martin Geisler
Browse files

pdl: derive `Copy` where possible

The advice from the standard library[1] is to make a type `Copy` if it
_can_ be `Copy`. Here we can simplify the code a bit by passing values
instead of references.

[1]: https://doc.rust-lang.org/std/marker/trait.Copy.html#when-should-my-type-be-copy

Test: atest pdl_tests pdl_inline_tests
Change-Id: Ib910dfb3ea297fae1b69a7a5571ba0ded365406e
parent 85637296
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment