Skip to content

Commit becb92f

Browse files
committed
Fix new clippy lints, no functional change
1 parent 11441f2 commit becb92f

File tree

7 files changed

+3
-5
lines changed

7 files changed

+3
-5
lines changed

aiger/src/import.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ pub type AigerLit = Lit;
2727
/// numbering.
2828
///
2929
/// Note that this is a type alias and thus does not provide any type checking.
30-
3130
pub type AigerVar = Var;
3231

3332
/// Partial mapping of AIGER variables to existing literals.

ids/src/id.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ mod primitive_impls;
55
mod u8_range_types;
66

77
#[allow(unused_imports)] // docs
8-
98
/// Used to construct constant values from an index.
109
///
1110
/// Together with [`Id::FromConstIdIndex`], this works around the lack of support for `const fn` in

ids/tests/test_id.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#![allow(missing_docs)] // test only
12
use imctk_ids::*;
23

34
use std::{hash::BuildHasher, marker::PhantomData};

ir/src/env/multimap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ impl<T> LitMultimap<T> {
115115
pub fn lit_entries<'a>(
116116
&'a self,
117117
lit: Lit,
118-
) -> impl Iterator<Item = <&'a T as BitXor<Pol>>::Output> + '_
118+
) -> impl Iterator<Item = <&'a T as BitXor<Pol>>::Output> + 'a
119119
where
120120
&'a T: BitXor<Pol>,
121121
{

ir/src/env/rebuild_egraph.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ impl Env {
66
/// Note that using [`Env::raw_nodes`] it may be possible to violate the egraph invariants in
77
/// ways that this method cannot repair. This does not happen when using the envrionment's
88
/// [`NodeBuilder`] methods.
9-
109
pub fn rebuild_egraph(&mut self) {
1110
let mut node_ids = vec![];
1211

table_seq/src/table_seq.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ pub use owned::OwnedSubtable;
3737
/// `HashTable`-level methods that operate on an individual subtable instead of the collection of
3838
/// all subtables. For methods that operate on all entries of all subtables we include `flat` suffix
3939
/// or prefix.
40-
4140
pub struct TableSeq<T> {
4241
_phantom: PhantomData<T>,
4342
allocators: Vec<NodeAllocator<T>>,

table_seq/tests/test.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#![allow(missing_docs)] // test only
12
use std::{
23
fmt::Debug,
34
hash::{BuildHasher, BuildHasherDefault, Hash},

0 commit comments

Comments
 (0)