Skip to content

Commit

Permalink
Removed println
Browse files Browse the repository at this point in the history
+ Bumped version to 0.5.3
  • Loading branch information
Genarito committed Oct 7, 2023
1 parent 4a5863f commit 127e63e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ keywords = ["parse", "dump", "serialize", "deserialize", "stringify"]
license = "MIT"
name = "gura"
repository = "https://github.com/gura-conf/gura-rs-parser"
version = "0.5.2"
version = "0.5.3"

[dependencies]
float-pretty-print = "0.1.0"
Expand Down
2 changes: 0 additions & 2 deletions src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1489,15 +1489,13 @@ fn pair(text: &mut Input) -> RuleResult {
if let GuraType::Indentation(current_indentation_level) =
matches(text, vec![Box::new(ws_with_indentation)])?
{
println!("current_indentation_level: {}", current_indentation_level);
let matched_key = matches(text, vec![Box::new(key)])?;

if let GuraType::String(key_value) = matched_key {
maybe_match(text, vec![Box::new(ws)])?;

// Check indentation
let last_indentation_block = get_last_indentation_level(text);
println!("last_indentation_block: {:?}", last_indentation_block);

// Check if indentation is divisible by 4
if current_indentation_level % 4 != 0 {
Expand Down

0 comments on commit 127e63e

Please sign in to comment.