We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e5c5aa commit 7fc5e01Copy full SHA for 7fc5e01
examples/expiring-tags.rs
@@ -143,6 +143,7 @@ async fn main() -> anyhow::Result<()> {
143
let options = Options {
144
path: PathOptions::new(&path),
145
gc: Some(GcConfig {
146
+ add_protected: None,
147
interval: Duration::from_secs(10),
148
}),
149
inline: InlineOptions::default(),
src/hash.rs
@@ -111,7 +111,7 @@ impl From<&[u8; 32]> for Hash {
111
112
impl PartialOrd for Hash {
113
fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
114
- Some(self.0.as_bytes().cmp(other.0.as_bytes()))
+ Some(self.cmp(other))
115
}
116
117
0 commit comments