Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Commit

Permalink
Remove Display impls that are already delegated to C to_string/get_name
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijnS95 committed Nov 30, 2020
1 parent 186d925 commit 83b9b62
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 30 deletions.
6 changes: 0 additions & 6 deletions gdk/src/auto/display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -470,9 +470,3 @@ impl fmt::Display for Display {
f.write_str(&self.get_name())
}
}

impl fmt::Display for Display {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
f.write_str("Display")
}
}
6 changes: 0 additions & 6 deletions gio/src/auto/credentials.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,3 @@ impl fmt::Display for Credentials {
f.write_str(&self.to_str())
}
}

impl fmt::Display for Credentials {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
f.write_str("Credentials")
}
}
6 changes: 0 additions & 6 deletions gio/src/auto/inet_address.rs
Original file line number Diff line number Diff line change
Expand Up @@ -528,9 +528,3 @@ impl<O: IsA<InetAddress>> InetAddressExt for O {
}
}
}

impl fmt::Display for InetAddress {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
f.write_str("InetAddress")
}
}
6 changes: 0 additions & 6 deletions gio/src/auto/inet_address_mask.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,3 @@ impl<O: IsA<InetAddressMask>> InetAddressMaskExt for O {
}
}
}

impl fmt::Display for InetAddressMask {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
f.write_str("InetAddressMask")
}
}
6 changes: 0 additions & 6 deletions gtk/src/auto/css_provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,3 @@ impl<O: IsA<CssProvider>> CssProviderExt for O {
}
}
}

impl fmt::Display for CssProvider {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
f.write_str("CssProvider")
}
}

0 comments on commit 83b9b62

Please sign in to comment.