Skip to content

Commit

Permalink
Removing bound for emit_key
Browse files Browse the repository at this point in the history
Thanks to @asonix for reporting this on Discord.

Not adding to the changelog as this should have been done as part of the
other unreleased GATs-related changes.
  • Loading branch information
ecton committed May 16, 2023
1 parent cde7bcb commit 22cdc8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bonsaidb-core/src/document/header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ pub trait Emit {
}

/// Creates a `Map` result with a `key` and an empty value.
fn emit_key<K: for<'k> Key<'k>>(&self, key: K) -> Result<Mappings<K, ()>, crate::Error> {
fn emit_key<K>(&self, key: K) -> Result<Mappings<K, ()>, crate::Error> {
self.emit_key_and_value(key, ())
}

Expand Down

0 comments on commit 22cdc8b

Please sign in to comment.