mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Fix a clippy lint
This commit is contained in:
@@ -101,7 +101,7 @@ where
|
|||||||
///
|
///
|
||||||
/// `aura_effect_init` must be called any effect routine, and called only once.
|
/// `aura_effect_init` must be called any effect routine, and called only once.
|
||||||
#[inline]
|
#[inline]
|
||||||
async fn write_effect(&mut self, effect: &Vec<Vec<u8>>) -> Result<(), RogError> {
|
async fn write_effect(&mut self, effect: &[Vec<u8>]) -> Result<(), RogError> {
|
||||||
if self.flip_effect_write {
|
if self.flip_effect_write {
|
||||||
for row in effect.iter().rev() {
|
for row in effect.iter().rev() {
|
||||||
self.write_bytes(row).await?;
|
self.write_bytes(row).await?;
|
||||||
|
|||||||
Reference in New Issue
Block a user