mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-09-30 05:40:55 +00:00
Fix rustfmt #4075
This commit is contained in:
parent
4d903a713e
commit
aae3f7fb70
@ -128,7 +128,7 @@ impl ClassicData {
|
||||
pub fn raw(&self) -> &[u8] {
|
||||
&self.bytes
|
||||
}
|
||||
|
||||
|
||||
/// Raw mutable read access to data.
|
||||
pub fn raw_mut(&mut self) -> &mut [u8] {
|
||||
&mut self.bytes
|
||||
@ -213,7 +213,7 @@ impl Frame {
|
||||
pub fn data(&self) -> &[u8] {
|
||||
&self.data.raw()
|
||||
}
|
||||
|
||||
|
||||
/// Get mutable reference to data
|
||||
pub fn data_mut(&mut self) -> &mut [u8] {
|
||||
self.data.raw_mut()
|
||||
@ -323,7 +323,7 @@ impl FdData {
|
||||
pub fn raw(&self) -> &[u8] {
|
||||
&self.bytes
|
||||
}
|
||||
|
||||
|
||||
/// Raw mutable read access to data.
|
||||
pub fn raw_mut(&mut self) -> &mut [u8] {
|
||||
&mut self.bytes
|
||||
@ -407,7 +407,7 @@ impl FdFrame {
|
||||
pub fn data(&self) -> &[u8] {
|
||||
&self.data.raw()
|
||||
}
|
||||
|
||||
|
||||
/// Get mutable reference to data
|
||||
pub fn data_mut(&mut self) -> &mut [u8] {
|
||||
self.data.raw_mut()
|
||||
|
Loading…
x
Reference in New Issue
Block a user