Skip to content

Commit

Permalink
chore: fix word (macros)
Browse files Browse the repository at this point in the history
  • Loading branch information
KKould committed Dec 6, 2024
1 parent 4013547 commit 626f37c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ required-features = ["net"]
doctest = false

[features]
default = ["marcos"]
marcos = []
default = ["macros"]
macros = []
net = ["dep:pgwire", "dep:async-trait", "dep:clap", "dep:env_logger", "dep:futures", "dep:log", "dep:tokio"]

[[bench]]
Expand Down
2 changes: 1 addition & 1 deletion examples/hello_world.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ implement_from_tuple!(
)
);

#[cfg(feature = "marcos")]
#[cfg(feature = "macros")]
fn main() -> Result<(), DatabaseError> {
let database = DataBaseBuilder::path("./hello_world").build()?;

Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
//! )
//! );
//!
//! #[cfg(feature = "marcos")]
//! #[cfg(feature = "macros")]
//! fn main() -> Result<(), DatabaseError> {
//! let database = DataBaseBuilder::path("./hello_world").build()?;
//!
Expand Down Expand Up @@ -103,7 +103,7 @@ pub mod errors;
pub mod execution;
pub mod expression;
mod function;
#[cfg(feature = "marcos")]
#[cfg(feature = "macros")]
pub mod macros;
mod optimizer;
pub mod parser;
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/optimizer/rule/implementation/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pub(crate) mod ddl;
pub(crate) mod dml;
pub(crate) mod dql;
pub(crate) mod marcos;
pub(crate) mod macros;

use crate::errors::DatabaseError;
use crate::optimizer::core::memo::GroupExpression;
Expand Down

0 comments on commit 626f37c

Please sign in to comment.