nushell/crates/nu-protocol/src/lib.rs
Dan Davison ad0c6bf7d5
Improve "Did you mean?" suggestions (#6579)
* Copy lev_distance.rs from the rust compiler

* Minor changes to code from rust compiler

* "Did you mean" suggestions: test instrumented to generate markdown report

* Did you mean suggestions: delete test instrumentation

* Fix tests

* Fix test

`foo` has a genuine match: `for`

* Improve tests
2022-09-20 19:46:01 -05:00

34 lines
593 B
Rust

pub mod ast;
mod cli_error;
mod config;
pub mod engine;
mod example;
mod exportable;
mod id;
mod lev_distance;
mod module;
mod pipeline_data;
mod shell_error;
mod signature;
pub mod span;
mod syntax_shape;
mod ty;
mod value;
mod variable;
pub use cli_error::*;
pub use config::*;
pub use engine::{ENV_VARIABLE_ID, IN_VARIABLE_ID, NU_VARIABLE_ID};
pub use example::*;
pub use exportable::*;
pub use id::*;
pub use module::*;
pub use pipeline_data::*;
pub use shell_error::*;
pub use signature::*;
pub use span::*;
pub use syntax_shape::*;
pub use ty::*;
pub use value::*;
pub use variable::*;