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

Skip to content
Commit 466d8849 authored by Stephen Hines's avatar Stephen Hines
Browse files

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
parent 277c8f7a
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