We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cb74b1 commit 3484e63Copy full SHA for 3484e63
multiboot2-header/src/builder/header.rs
@@ -255,6 +255,7 @@ impl HeaderBuilder {
255
/// Adds information requests from the
256
/// [`InformationRequestHeaderTagBuilder`] to the builder.
257
#[must_use]
258
+ #[allow(clippy::missing_const_for_fn)] // only in Rust 1.70 necessary
259
pub fn information_request_tag(
260
mut self,
261
information_request_tag: InformationRequestHeaderTagBuilder,
multiboot2/src/lib.rs
@@ -125,6 +125,7 @@ mod tests {
125
/// This test is relevant to give library users flexebility in passing the
126
/// struct around.
127
#[test]
128
129
fn boot_information_is_send_and_sync() {
130
fn accept<T: Send + Sync>(_: T) {}
131
let bytes = AlignedBytes([
0 commit comments