Skip to content

Commit

Permalink
Cargo clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mmghannam committed Jul 20, 2024
1 parent ea247af commit 7b120ec
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ pub struct RowId(usize);
/// Id of a column in the model.
pub struct ColId(usize);

impl Default for Model {
fn default() -> Self {
Self::new()
}
}

impl Model {
/// Creates a new linear programming model.
pub fn new() -> Self {
Expand Down

0 comments on commit 7b120ec

Please sign in to comment.