Skip to content

Commit

Permalink
remove Display implementations for TypeModule and TypePlugin
Browse files Browse the repository at this point in the history
Signed-off-by: fbrouille <[email protected]>
  • Loading branch information
fbrouille committed Oct 18, 2023
1 parent 0fe707d commit 8cec480
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
7 changes: 0 additions & 7 deletions glib/src/gobject/type_module.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
use crate::{
prelude::*, translate::*, EnumValue, FlagsValue, InterfaceInfo, TypeFlags, TypeInfo, TypePlugin,
};
use std::fmt;

crate::wrapper! {
#[doc(alias = "GTypeModule")]
Expand Down Expand Up @@ -111,9 +110,3 @@ pub trait TypeModuleExt: IsA<TypeModule> + sealed::Sealed + 'static {
}

impl<O: IsA<TypeModule>> TypeModuleExt for O {}

impl fmt::Display for TypeModule {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
f.write_str("TypeModule")
}
}
7 changes: 0 additions & 7 deletions glib/src/gobject/type_plugin.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Take a look at the license at the top of the repository in the LICENSE file.

use crate::{prelude::*, translate::*, InterfaceInfo, TypeInfo, TypeValueTable};
use std::fmt;

crate::wrapper! {
#[doc(alias = "GTypePlugin")]
Expand Down Expand Up @@ -72,9 +71,3 @@ pub trait TypePluginExt: IsA<TypePlugin> + sealed::Sealed + 'static {
}

impl<O: IsA<TypePlugin>> TypePluginExt for O {}

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

0 comments on commit 8cec480

Please sign in to comment.