Skip to content

Commit

Permalink
Fixed clippy warning and review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Razican committed Oct 22, 2022
1 parent f66ade8 commit b73b429
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
3 changes: 1 addition & 2 deletions boa_engine/src/syntax/parser/expression/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,7 @@ fn check_numeric_operations() {
ArithmeticOp::Div.into(),
Identifier::new(interner.get_or_intern_static("a", utf16!("a"))).into(),
Identifier::new(interner.get_or_intern_static("b", utf16!("b"))).into(),
))
.into()]
))]
.into(),
)))
.into()],
Expand Down
9 changes: 0 additions & 9 deletions boa_interner/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -421,15 +421,6 @@ pub trait ToInternedString {
fn to_interned_string(&self, interner: &Interner) -> String;
}

// impl<T> ToInternedString for T
// where
// T: std::fmt::Display,
// {
// fn to_interned_string(&self, _interner: &Interner) -> String {
// self.to_string()
// }
// }

impl<T> ToInternedString for T
where
T: ToIndentedString,
Expand Down

0 comments on commit b73b429

Please sign in to comment.