Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/db/caching_int_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ impl CachingIntMap {
}
}
// very shitty code. spent 2 hours figuring out how to do this get method generically
pub async fn get_bind2(&'c self, key: &'c str, bind1: i64, bind2: i64) -> i64 {
pub async fn get_bind2<'c>(&'c self, key: &'c str, bind1: i64, bind2: i64) -> i64 {
let i: Option<i64> = self.lru.write().await.get(key).copied();

match i {
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![feature(in_band_lifetimes)]
#![feature(proc_macro_hygiene, decl_macro)]
#![warn(clippy::print_stdout)]

Expand Down