mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Fix clippy lints for Rust 1.49
This commit is contained in:
13 files changed
+69
-87
No files matched your search
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user