summaryrefslogtreecommitdiff
path: root/src/bindings.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bindings.rs')
-rw-r--r--src/bindings.rs8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/bindings.rs b/src/bindings.rs
index 91a2c8d..2d5f062 100644
--- a/src/bindings.rs
+++ b/src/bindings.rs
@@ -393,17 +393,11 @@ mod test_binding {
}
/// Set of all known bindings.
-#[derive(Debug)]
+#[derive(Debug, Default)]
pub struct Bindings {
bindings: Vec<Binding>,
}
-impl Default for Bindings {
- fn default() -> Self {
- Bindings { bindings: vec![] }
- }
-}
-
#[derive(Debug, Deserialize)]
struct ParsedImpl {
function: String,