Skip to content

Commit 1547fc2

Browse files
committed
Fix a compilation error & a warning
1 parent 7d82ceb commit 1547fc2

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

aws-smt-ir/src/term.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,6 @@ pub enum CoreOp<Term> {
274274
Ite(Term, Term, Term),
275275
}
276276

277-
#[cfg(test)]
278-
static_assertions::assert_eq_size!(CoreOp<Term<crate::logic::ALL>>, [*const (); 7]);
279-
280277
impl<Term> From<bool> for CoreOp<Term> {
281278
fn from(b: bool) -> Self {
282279
if b {

aws-smt-ir/src/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ impl<Identifier, Sort> QualIdentifier<Identifier, Sort> {
112112
}
113113
}
114114

115-
pub fn sym_str<'a, Symbol>(&'a self) -> &str
115+
pub fn sym_str<'a, Symbol>(&'a self) -> &'a str
116116
where
117117
Identifier: AsRef<self::Identifier<Symbol>>,
118118
Symbol: AsRef<self::Symbol> + 'a,

0 commit comments

Comments
 (0)