diff options
author | Alex Orlenko <zxteam@protonmail.com> | 2021-12-28 12:23:06 +0000 |
---|---|---|
committer | Alex Orlenko <zxteam@protonmail.com> | 2021-12-28 12:23:06 +0000 |
commit | cfb5d3fd45a810e5cde6811b039d154241d1444c (patch) | |
tree | 2788bd5fe7e81a165cb25d9c342ebfa1af0821a2 /src/serde/de.rs | |
parent | 84a174c94d2b07c9226a8ba856d81d67e5468cd9 (diff) | |
download | mlua-cfb5d3fd45a810e5cde6811b039d154241d1444c.zip |
Fix clippy warnings
Diffstat (limited to 'src/serde/de.rs')
-rw-r--r-- | src/serde/de.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/serde/de.rs b/src/serde/de.rs index bda7f24..437de1d 100644 --- a/src/serde/de.rs +++ b/src/serde/de.rs @@ -61,6 +61,7 @@ impl Options { /// Sets [`deny_unsupported_types`] option. /// /// [`deny_unsupported_types`]: #structfield.deny_unsupported_types + #[must_use] pub const fn deny_unsupported_types(mut self, enabled: bool) -> Self { self.deny_unsupported_types = enabled; self @@ -69,6 +70,7 @@ impl Options { /// Sets [`deny_recursive_tables`] option. /// /// [`deny_recursive_tables`]: #structfield.deny_recursive_tables + #[must_use] pub fn deny_recursive_tables(mut self, enabled: bool) -> Self { self.deny_recursive_tables = enabled; self |