diff --git a/idna/src/uts46.rs b/idna/src/uts46.rs index 2ffb8414b..b082416c8 100644 --- a/idna/src/uts46.rs +++ b/idna/src/uts46.rs @@ -509,6 +509,7 @@ impl Idna { } #[derive(Clone, Copy)] +#[must_use] pub struct Config { use_std3_ascii_rules: bool, transitional_processing: bool, diff --git a/url/src/lib.rs b/url/src/lib.rs index febdb3609..71b12ff64 100644 --- a/url/src/lib.rs +++ b/url/src/lib.rs @@ -205,6 +205,7 @@ pub struct Url { /// Full configuration for the URL parser. #[derive(Copy, Clone)] +#[must_use] pub struct ParseOptions<'a> { base_url: Option<&'a Url>, encoding_override: EncodingOverride<'a>,