summaryrefslogtreecommitdiff
path: root/libs/gui/LayerDebugInfo.cpp
diff options
context:
space:
mode:
author Stephen Hines <srhines@google.com> 2024-03-08 17:42:59 -0800
committer Stephen Hines <srhines@google.com> 2024-03-08 17:42:59 -0800
commit466d884932c4cb62d841d6fb7c0316eb9b570df8 (patch)
treea86fcc3aaa5ca1a6bf6bc2d55ed613d20b1d5624 /libs/gui/LayerDebugInfo.cpp
parent277c8f7a23f5e0cfe586e303899dfc201bee8702 (diff)
Fix clippy::ptr-arg lint
``` error: writing `&Vec` instead of `&[_]` involves a new object where a slice will do --> frameworks/native/cmds/evemu-record/main.rs:123:15 | 123 | data: &Vec<u8>, | ^^^^^^^^ help: change this to: `&[u8]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg = note: `-D clippy::ptr-arg` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::ptr_arg)]` ``` Bug: http://b/327204642 Test: test_compiler.py Change-Id: I20ade048e9e083dc2a98eee8d6fe1cbf1cbdb7fc
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions