Skip to content

Commit

Permalink
lint: fix clippy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
igordejanovic committed Sep 26, 2024
1 parent 852322a commit 70ab533
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions rustemo-compiler/src/grammar/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,8 @@ impl Grammar {
)
}

/// Parses given file and constructs a Grammar instance
/// FIXME: Return/move owned string from file content.
// /// Parses given file and constructs a Grammar instance
// /// FIXME: Return/move owned string from file content.
// pub fn from_file<F: AsRef<Path>>(file: F) -> Result<Self> {
// use crate::rustemo_types::{NonTerminal, Symbol};
// if let Symbol::NonTerminal(NonTerminal::PGFile(pgfile)) =
Expand Down
1 change: 0 additions & 1 deletion rustemo/src/debug.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#[allow(unused_macros)]

/// Prints without newline to stdout in debug profile
///
/// See <https://stackoverflow.com/questions/38141056/does-rust-have-a-debug-macro>
Expand Down

0 comments on commit 70ab533

Please sign in to comment.