mirror of https://github.com/zkat/miette.git
\#[allow] false positive lint
This commit is contained in:
parent
ca9b0fd836
commit
bd4a4435cc
|
|
@ -58,6 +58,7 @@ where
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(explicit_outlives_requirements)]
|
||||||
#[repr(transparent)]
|
#[repr(transparent)]
|
||||||
/// A raw pointer that represents a shared borrow of its pointee
|
/// A raw pointer that represents a shared borrow of its pointee
|
||||||
pub(crate) struct Ref<'a, T>
|
pub(crate) struct Ref<'a, T>
|
||||||
|
|
@ -120,6 +121,7 @@ where
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(explicit_outlives_requirements)]
|
||||||
#[repr(transparent)]
|
#[repr(transparent)]
|
||||||
/// A raw pointer that represents a unique borrow of its pointee
|
/// A raw pointer that represents a unique borrow of its pointee
|
||||||
pub(crate) struct Mut<'a, T>
|
pub(crate) struct Mut<'a, T>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue