Skip to content

Commit 89c2f54

Browse files
committed
Allow dead code warning surpression
1 parent cc5dc30 commit 89c2f54

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pgml-sdks/pgml/src/types.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ impl Json {
5757

5858
pub(crate) trait TryToNumeric {
5959
fn try_to_u64(&self) -> anyhow::Result<u64>;
60+
61+
#[allow(dead_code)]
6062
fn try_to_i64(&self) -> anyhow::Result<i64> {
6163
self.try_to_u64().map(|u| u as i64)
6264
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy