@@ -2,6 +2,7 @@
|
||||
#![allow(async_fn_in_trait)]
|
||||
#![doc = include_str!("../README.md")]
|
||||
// #![warn(missing_docs)]
|
||||
#![allow(static_mut_refs)] // TODO: Fix
|
||||
|
||||
// This must go FIRST so that all the other modules see its macros.
|
||||
mod fmt;
|
||||
|
||||
@@ -371,7 +371,7 @@ pub struct DataRequest {
|
||||
}
|
||||
|
||||
impl DataRequest {
|
||||
pub fn set_buffer<'a>(&'a mut self, buf: &'a [u8]) -> &mut Self {
|
||||
pub fn set_buffer<'a>(&'a mut self, buf: &'a [u8]) -> &'a mut Self {
|
||||
self.msdu_ptr = buf as *const _ as *const u8;
|
||||
self.msdu_length = buf.len() as u8;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user