Fix clippy lints for Rust 1.49

This commit is contained in:
Noah committed 2021-01-02 19:30:57 -06:00
1 parent 8b31efb862
commit be40a5d7b9
13 files changed
+69 -87

No files matched your search

+1 -1
View File
@@ -657,7 +657,7 @@ impl<C: Constant> CodeObject<C> {
Ok(())
}
pub fn display_expand_codeobjects<'a>(&'a self) -> impl fmt::Display + 'a {
pub fn display_expand_codeobjects(&self) -> impl fmt::Display + '_ {
struct Display<'a, C: Constant>(&'a CodeObject<C>);
impl<C: Constant> fmt::Display for Display<'_, C> {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {