Skip to content

Commit 4be9c2d

Browse files
committed
removed mentions of static_assertions
1 parent 94fdd92 commit 4be9c2d

3 files changed

Lines changed: 0 additions & 3 deletions

File tree

aimdb-sync/src/consumer.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,6 @@ where
294294

295295
#[cfg(test)]
296296
mod tests {
297-
// TODO: is it possible with static_assertions?
298297
fn assert_send<T: Send>() {}
299298
#[allow(dead_code)]
300299
fn check<X: Send + std::fmt::Debug + Clone>() {

aimdb-sync/src/handle.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,6 @@ impl Drop for AimDbHandle {
493493

494494
#[cfg(test)]
495495
mod tests {
496-
// TODO: is it possible with static_assertions?
497496
fn assert_send<T: Send>() {}
498497
fn assert_sync<T: Sync>() {}
499498
#[allow(dead_code)]

aimdb-sync/src/producer.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,6 @@ fn unix_now_ms() -> u64 {
217217

218218
#[cfg(test)]
219219
mod tests {
220-
// TODO: is it possible with static_assertions?
221220
fn assert_send<T: Send>() {}
222221
fn assert_sync<T: Sync>() {}
223222
#[allow(dead_code)]

0 commit comments

Comments
 (0)