Skip to content

Commit dfdf368

Browse files
committed
chore: minor syntax change
1 parent c971db8 commit dfdf368

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

postgresql_archive/src/matcher/registry.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@ impl Default for MatchersRegistry {
7878
///
7979
/// # Errors
8080
/// * If the registry is poisoned.
81-
pub fn register(supports_fn: SupportsFn, matcher_fn: MatcherFn) -> Result<()>
82-
where {
81+
pub fn register(supports_fn: SupportsFn, matcher_fn: MatcherFn) -> Result<()> {
8382
let mut registry = REGISTRY
8483
.lock()
8584
.map_err(|error| PoisonedLock(error.to_string()))?;

0 commit comments

Comments
 (0)