commit | 989b25cf79913cca5de4c33feb3dbea7b90ba632 | [log] [tgz] |
---|---|---|
author | Dan Johnson <computerdruid@google.com> | Wed Jun 22 23:27:36 2022 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jun 22 23:27:36 2022 +0000 |
tree | 4073f32c0cff26f77827f4a13767ebef7519ca0b | |
parent | 707481b3ac16f59f6a3a44a202d919f2568146ce [diff] |
[settings] migrate to rust edition 2021 This migrates the settings service rust code and build files to use edition 2021. This was excluded from https://fxrev.dev/691339 because of https://fxbug.dev/101439 , but is now unblocked. See https://doc.rust-lang.org/edition-guide/rust-2021/index.html for details about the new edition. The edition migration tooling added lots of code like `let _ = &self;` to preserve the drop ordering of the original code. See https://doc.rust-lang.org/edition-guide/rust-2021/disjoint-capture-in-closures.html for more information about that specific change. Bug: 101302 Fixed: 101439 Change-Id: Ic9633d4befd1e56d2548bdc738d630a18368867c Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/693485 Reviewed-by: Tyler Mandry <tmandry@google.com> Commit-Queue: Dan Johnson <computerdruid@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.