Skip to content

Commit e566e4a

Browse files
committed
Cleanup
1 parent 2eb12e0 commit e566e4a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ default-members = ["crates/shell", "crates/sqlite"]
99

1010
[profile.dev]
1111
panic = "abort"
12+
strip = true
1213

1314
[profile.release]
1415
panic = "abort"

crates/core/src/bucket_priority.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pub struct BucketPriority(i32);
1010

1111
impl BucketPriority {
1212
pub fn may_publish_with_outstanding_uploads(self) -> bool {
13-
self.0 == 0
13+
self == BucketPriority::HIGHEST
1414
}
1515

1616
pub const HIGHEST: BucketPriority = BucketPriority(0);

0 commit comments

Comments
 (0)