Fix transfer_region in release mode
This commit is contained in:
parent
58013fc176
commit
7c76e148ce
|
|
@ -7,8 +7,9 @@ use crate::plate::PlateType;
|
|||
use crate::util;
|
||||
use crate::Well;
|
||||
|
||||
use std::fmt;
|
||||
use std::fmt::{self, Display};
|
||||
use std::sync::LazyLock;
|
||||
use std::ops::Mul;
|
||||
|
||||
#[derive(Clone, PartialEq, Eq, Serialize, Deserialize, Debug, Hash)]
|
||||
pub struct CustomRegion {
|
||||
|
|
@ -522,8 +523,6 @@ fn standardize_rectangle(c1: &Well, c2: &Well) -> (Well, Well) {
|
|||
)
|
||||
}
|
||||
|
||||
#[cfg(debug_assertions)]
|
||||
use std::{fmt::Display, ops::Mul};
|
||||
|
||||
#[cfg(debug_assertions)] // There should be no reason to print a transfer otherwise
|
||||
impl fmt::Display for TransferRegion {
|
||||
|
|
|
|||
Loading…
Reference in New Issue