diff options
author | Bartosz Golaszewski <[email protected]> | 2023-11-15 17:29:01 +0100 |
---|---|---|
committer | Bartosz Golaszewski <[email protected]> | 2023-11-20 14:24:50 +0100 |
commit | d652049e118ffe9227155f7b9b85faf15fc91f8f (patch) | |
tree | d0d6922f2e188995cfdaca4f9a432175e60b8693 /scripts/rustdoc_test_builder.rs | |
parent | 66d6143ebff038a69d875e582e536bae02b14290 (diff) |
gpio: mockup: initialize a managed pointer in place
The preferred pattern for autopointers is to initialize them when they're
declared unless it doesn't make sense. Move the declaration of the
managed device pointer to where it's initialized.
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions