mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-11-20 03:49:45 +00:00
feat: update ordering
This commit is contained in:
parent
1ef7ed5cb2
commit
18204ff83a
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ pub static SYNTAX_ONLY: AtomicBool = AtomicBool::new(false);
|
|||
|
||||
/// Check if syntax-only mode is enabled.
|
||||
pub fn is_syntax_only() -> bool {
|
||||
SYNTAX_ONLY.load(Ordering::Relaxed)
|
||||
SYNTAX_ONLY.load(Ordering::Acquire)
|
||||
}
|
||||
|
||||
/// Compile the document if syntax-only mode is disabled; otherwise, return an
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue