peasee commented on code in PR #517:
URL: 
https://github.com/apache/arrow-rs-object-store/pull/517#discussion_r2463125925


##########
src/lib.rs:
##########
@@ -1035,6 +1054,84 @@ impl GetOptions {
         }
         Ok(())
     }
+
+    /// Create a new [`GetOptions`]
+    #[must_use]
+    pub fn new() -> Self {
+        Self::default()
+    }
+
+    /// Sets the `if_match` condition.
+    ///
+    /// See [`GetOptions::if_match`]
+    #[must_use]

Review Comment:
   I tend to use `-D clippy::pedantic` in all my workspaces. When pedantic is 
enabled, it throws a lint for candidates that could have a must use. I think 
it's accurate, because it would seem weird you build options but never use them.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to