Skip to content

Commit a669b3c

Browse files
committed
Allow clippy::uninlined_format_args
defmt does not support inlined format arguments
1 parent 10fb278 commit a669b3c

File tree

11 files changed

+11
-0
lines changed

11 files changed

+11
-0
lines changed

examples/adc-continious-dma.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#![no_std]
22
#![no_main]
3+
#![allow(clippy::uninlined_format_args)]
34

45
mod utils;
56
use utils::logger::info;

examples/adc-continious.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#![no_main]
22
#![no_std]
3+
#![allow(clippy::uninlined_format_args)]
34

45
use crate::hal::{
56
adc::{

examples/adc-one-shot-dma.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#![no_std]
22
#![no_main]
3+
#![allow(clippy::uninlined_format_args)]
34

45
use cortex_m_rt::entry;
56

examples/adc-one-shot.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#![no_main]
22
#![no_std]
3+
#![allow(clippy::uninlined_format_args)]
34

45
use crate::hal::{
56
adc::{config::SampleTime, AdcClaim},

examples/i2c-mpu6050.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#![deny(unsafe_code)]
33
#![no_main]
44
#![no_std]
5+
#![allow(clippy::uninlined_format_args)]
56

67
use hal::prelude::*;
78
use hal::stm32;

examples/i2c.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#![deny(unsafe_code)]
33
#![no_main]
44
#![no_std]
5+
#![allow(clippy::uninlined_format_args)]
56

67
use hal::prelude::*;
78
use hal::stm32;

examples/observe.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#![deny(unsafe_code)]
33
#![no_main]
44
#![no_std]
5+
#![allow(clippy::uninlined_format_args)]
56

67
mod utils;
78
use utils::logger::info;

examples/opamp.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
33
#![no_std]
44
#![no_main]
5+
#![allow(clippy::uninlined_format_args)]
56

67
use stm32g4xx_hal::adc::AdcClaim;
78
use stm32g4xx_hal::adc::AdcCommonExt;

examples/uart-dma-rx.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#![deny(unsafe_code)]
33
#![no_main]
44
#![no_std]
5+
#![allow(clippy::uninlined_format_args)]
56

67
extern crate cortex_m_rt as rt;
78

examples/uart-fifo.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#![deny(unsafe_code)]
33
#![no_main]
44
#![no_std]
5+
#![allow(clippy::uninlined_format_args)]
56

67
extern crate cortex_m_rt as rt;
78

0 commit comments

Comments
 (0)