Merge MetadataRef
type aliases
This commit is contained in:
parent
8006510ab0
commit
2eef27a6c1
1 changed files with 3 additions and 4 deletions
|
@ -92,6 +92,9 @@ mod mode {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub use mode::{is_dyn_thread_safe, set_dyn_thread_safe_mode};
|
pub use mode::{is_dyn_thread_safe, set_dyn_thread_safe_mode};
|
||||||
|
|
||||||
|
pub type MetadataRef = OwnedSlice;
|
||||||
|
|
||||||
cfg_if! {
|
cfg_if! {
|
||||||
if #[cfg(not(parallel_compiler))] {
|
if #[cfg(not(parallel_compiler))] {
|
||||||
pub unsafe auto trait Send {}
|
pub unsafe auto trait Send {}
|
||||||
|
@ -244,8 +247,6 @@ cfg_if! {
|
||||||
r
|
r
|
||||||
}
|
}
|
||||||
|
|
||||||
pub type MetadataRef = OwnedSlice;
|
|
||||||
|
|
||||||
pub use std::rc::Rc as Lrc;
|
pub use std::rc::Rc as Lrc;
|
||||||
pub use std::rc::Weak as Weak;
|
pub use std::rc::Weak as Weak;
|
||||||
pub use std::cell::Ref as ReadGuard;
|
pub use std::cell::Ref as ReadGuard;
|
||||||
|
@ -517,8 +518,6 @@ cfg_if! {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub type MetadataRef = OwnedSlice;
|
|
||||||
|
|
||||||
/// This makes locks panic if they are already held.
|
/// This makes locks panic if they are already held.
|
||||||
/// It is only useful when you are running in a single thread
|
/// It is only useful when you are running in a single thread
|
||||||
const ERROR_CHECKING: bool = false;
|
const ERROR_CHECKING: bool = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue