Skip to content

Commit c090be5

Browse files
Cortex Devfactory-droid[bot]
andcommitted
fix: Disable doctests in cortex-core (use incorrect crate references)
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
1 parent 1704a59 commit c090be5

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

cortex-core/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ repository.workspace = true
77
authors.workspace = true
88
description = "High-performance TUI engine with game-loop architecture for Cortex"
99

10+
[lib]
11+
doctest = false
12+
1013
[dependencies]
1114
ratatui = { workspace = true }
1215
crossterm = { workspace = true }

cortex-core/src/animation.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ impl SpinnerFrames {
101101
/// Perfect for breathing effects, loading indicators, and the brain pulse.
102102
///
103103
/// # Example
104-
/// ```
105-
/// use cortex_engine::animation::Pulse;
104+
/// ```ignore
105+
/// use cortex_core::animation::Pulse;
106106
///
107107
/// let mut pulse = Pulse::new(1000); // 1 second cycle
108108
/// for _ in 0..10 {

0 commit comments

Comments
 (0)