File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -255,6 +255,7 @@ impl HeaderBuilder {
255
255
/// Adds information requests from the
256
256
/// [`InformationRequestHeaderTagBuilder`] to the builder.
257
257
#[ must_use]
258
+ #[ allow( clippy:: missing_const_for_fn) ] // only in Rust 1.70 necessary
258
259
pub fn information_request_tag (
259
260
mut self ,
260
261
information_request_tag : InformationRequestHeaderTagBuilder ,
Original file line number Diff line number Diff line change @@ -125,6 +125,7 @@ mod tests {
125
125
/// This test is relevant to give library users flexebility in passing the
126
126
/// struct around.
127
127
#[ test]
128
+ #[ allow( clippy:: missing_const_for_fn) ] // only in Rust 1.70 necessary
128
129
fn boot_information_is_send_and_sync ( ) {
129
130
fn accept < T : Send + Sync > ( _: T ) { }
130
131
let bytes = AlignedBytes ( [
You can’t perform that action at this time.
0 commit comments