Skip to content

Commit

Permalink
feat: Derive Debug & Clone for ExtensionRegistry. (#530)
Browse files Browse the repository at this point in the history
  • Loading branch information
aborgna-q authored Sep 12, 2023
1 parent a3f87d5 commit 09f760c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/extension.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ pub mod validate;
pub use prelude::{PRELUDE, PRELUDE_REGISTRY};

/// Extension Registries store extensions to be looked up e.g. during validation.
#[derive(Clone, Debug)]
pub struct ExtensionRegistry(BTreeMap<ExtensionId, Extension>);

impl ExtensionRegistry {
Expand Down

0 comments on commit 09f760c

Please sign in to comment.