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 {
255255 /// Adds information requests from the
256256 /// [`InformationRequestHeaderTagBuilder`] to the builder.
257257 #[ must_use]
258+ #[ allow( clippy:: missing_const_for_fn) ] // only in Rust 1.70 necessary
258259 pub fn information_request_tag (
259260 mut self ,
260261 information_request_tag : InformationRequestHeaderTagBuilder ,
Original file line number Diff line number Diff line change @@ -125,6 +125,7 @@ mod tests {
125125 /// This test is relevant to give library users flexebility in passing the
126126 /// struct around.
127127 #[ test]
128+ #[ allow( clippy:: missing_const_for_fn) ] // only in Rust 1.70 necessary
128129 fn boot_information_is_send_and_sync ( ) {
129130 fn accept < T : Send + Sync > ( _: T ) { }
130131 let bytes = AlignedBytes ( [
You can’t perform that action at this time.
0 commit comments