Skip to content

Commit f7b5aef

Browse files
committed
Ignore upstream deprecation warnings
1 parent 17b1b84 commit f7b5aef

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

backend/db.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,13 @@ async fn sync_terms_version_to_db() -> sqlx::Result<()> {
5353
let mut hasher = Sha256::new();
5454
hasher.update(include_bytes!("../frontend/components/TermsOfService.md"));
5555
let terms_hash = hasher.finalize();
56+
#[expect(deprecated, reason = "Caused by upstream")]
5657
let terms_hash = terms_hash.as_slice();
5758

5859
let mut hasher = Sha256::new();
5960
hasher.update(include_bytes!("../frontend/components/PrivacyNotice.md"));
6061
let privacy_hash = hasher.finalize();
62+
#[expect(deprecated, reason = "Caused by upstream")]
6163
let privacy_hash = privacy_hash.as_slice();
6264

6365
transaction!(async |tx| -> TxResult<_> {

0 commit comments

Comments
 (0)