Add #[must_use] to types and methods (#3395)

Co-authored-by: Theodore Bjernhed <[email protected]>
This commit is contained in:
Theodore Bjernhed
2025-07-05 19:07:24 +02:00
committed by GitHub
co-authored by Theodore Bjernhed
parent d7104313cb
commit fb64e72de9
22 changed files with 59 additions and 6 deletions
+1
View File
@@ -16,6 +16,7 @@ impl Error {
}
/// Convert an `Error` back into the underlying boxed trait object.
#[must_use]
pub fn into_inner(self) -> BoxError {
self.inner
}