mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 10:49:54 +00:00
chore: add log-level-error
feature
This commit is contained in:
parent
325ab03b24
commit
ea6e3df982
12 changed files with 49 additions and 3 deletions
|
@ -282,6 +282,7 @@ impl<T: Clone> Shared<T> {
|
|||
|
||||
/// Thread-local objects that can be shared among threads.
|
||||
/// The initial value can be shared globally, but the changes are not reflected in other threads.
|
||||
/// If you want to reflect the changes in other threads, you need to call `update_init`.
|
||||
/// Otherwise, this behaves as a `RefCell`.
|
||||
#[derive(Clone)]
|
||||
pub struct Forkable<T: Send + Clone> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue