diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-05-29 21:28:52 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-05-29 21:29:49 +0800 |
| commit | 20b8fe7881ee7ecfcf3e5d60692caea96e361eea (patch) | |
| tree | 23175331cb93462817064dd15c61a17482742246 /mingling/src | |
| parent | c2a786e63c31b1c090d7a43db2484c390f9eb95f (diff) | |
Remove stale example-repl-advanced directory and repl_extra feature
Diffstat (limited to 'mingling/src')
| -rw-r--r-- | mingling/src/example_docs.rs | 24 | ||||
| -rw-r--r-- | mingling/src/features.rs | 11 |
2 files changed, 0 insertions, 35 deletions
diff --git a/mingling/src/example_docs.rs b/mingling/src/example_docs.rs index b46041f..b665485 100644 --- a/mingling/src/example_docs.rs +++ b/mingling/src/example_docs.rs @@ -1473,30 +1473,6 @@ pub mod example_implicit_dispatcher {} /// gen_program!(); /// ``` pub mod example_panic_unwind {} - -/// -/// Source code (./Cargo.toml) -/// ```toml -/// [package] -/// name = "example-repl-advanced" -/// version = "0.1.0" -/// edition = "2024" -/// -/// [dependencies.mingling] -/// path = "../../mingling" -/// features = ["repl", "repl_extra", "parser", "extra_macros"] -/// -/// [dependencies] -/// just_fmt = "0.1.2" -/// ``` -/// -/// Source code (./src/main.rs) -/// ```ignore -/// fn main() { -/// println!("Hello, world!"); -/// } -/// ``` -pub mod example_repl_advanced {} /// Example REPL Basic /// /// > This example demonstrates how to develop a REPL program using the `repl` feature diff --git a/mingling/src/features.rs b/mingling/src/features.rs index 365724c..ec9c7ad 100644 --- a/mingling/src/features.rs +++ b/mingling/src/features.rs @@ -174,17 +174,6 @@ pub const MINGLING_REPL: bool = false; #[cfg(feature = "repl")] #[allow(unused)] pub const MINGLING_REPL: bool = true; -/// Whether the `repl_extra` feature is enabled -/// Current: `disabled` -#[cfg(not(feature = "repl_extra"))] -#[allow(unused)] -pub const MINGLING_REPL_EXTRA: bool = false; - -/// Whether the `repl_extra` feature is enabled -/// Current: `enabled` -#[cfg(feature = "repl_extra")] -#[allow(unused)] -pub const MINGLING_REPL_EXTRA: bool = true; /// Whether the `ron_serde_fmt` feature is enabled /// Current: `disabled` #[cfg(not(feature = "ron_serde_fmt"))] |
