Skip to content

Commit

Permalink
cargo clippy (1.83)
Browse files Browse the repository at this point in the history
  • Loading branch information
shnarazk committed Dec 13, 2024
1 parent 65fa84c commit 3e75248
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
5 changes: 3 additions & 2 deletions src/assign/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/// Module `assign` implements Boolean Constraint Propagation and decision var selection.
/// This version can handle Chronological and Non Chronological Backtrack.
//! Module `assign` implements Boolean Constraint Propagation and decision var selection.
//! This version can handle Chronological and Non Chronological Backtrack.
//!
/// Ema
mod ema;
Expand Down
2 changes: 1 addition & 1 deletion src/processor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ use {
/// use crate::{splr::config::Config, splr::types::*};
/// use crate::splr::processor::{Eliminator, EliminateIF};
/// use crate::splr::solver::Solver;
///
/// let mut s = Solver::instantiate(&Config::default(), &CNFDescription::default());
/// let mut elim = Eliminator::instantiate(&s.state.config, &s.state.cnf);
/// assert_eq!(elim.is_running(), false);
Expand Down
12 changes: 6 additions & 6 deletions src/processor/simplify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -510,9 +510,9 @@ impl Eliminator {
self.enqueue_var(asg, l.vi(), true);
}

///
/// clause queue operations
///
//
// clause queue operations
//

/// enqueue a clause into eliminator's clause queue.
pub fn enqueue_clause(&mut self, ci: ClauseIndex, c: &mut Clause) {
Expand All @@ -537,9 +537,9 @@ impl Eliminator {
self.clause_queue.len()
}

///
/// var queue operations
///
//
// var queue operations
//

/// clear eliminator's var queue
fn clear_var_queue(&mut self, asg: &mut impl AssignIF) {
Expand Down

0 comments on commit 3e75248

Please sign in to comment.