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 482cc17 commit 48bd6e8Copy full SHA for 48bd6e8
frameworks/Rust/hyperlane/src/db.rs
@@ -159,7 +159,7 @@ pub async fn init_db() {
159
create_table().await;
160
insert_records().await;
161
}
162
- std::hint::black_box(init_cache().await);
+ black_box(init_cache().await);
163
164
165
pub async fn random_world_row(db_pool: &DbPoolConnection) -> QueryRow {
frameworks/Rust/hyperlane/src/main.rs
@@ -28,7 +28,7 @@ pub(crate) use sqlx::{
28
postgres::{PgPoolOptions, PgRow},
29
*,
30
};
31
-pub(crate) use std::{fmt, sync::Arc};
+pub(crate) use std::{fmt, hint::black_box, sync::Arc};
32
pub(crate) use r#type::*;
33
pub(crate) use utils::*;
34
0 commit comments