harper-core 2.0.0

The language checker for developers.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[cfg(not(feature = "concurrent"))]
pub use std::rc::Rc as Lrc;
#[cfg(feature = "concurrent")]
pub use std::sync::Arc as Lrc;

#[cfg(not(feature = "concurrent"))]
pub trait LSend {}

#[cfg(not(feature = "concurrent"))]
impl<T: ?Sized> LSend for T {}

#[cfg(feature = "concurrent")]
pub trait LSend: Send + Sync {}

#[cfg(feature = "concurrent")]
impl<T: Send + Sync + ?Sized> LSend for T {}