refactor: remove Clone derive on CompletedPersist

This type is exposed as an Arc-wrapped (reference counted) shared item
to avoid cloning the underlying data, and as such this type should not
be cloned directly.
pull/24376/head
Dom Dwyer 2023-03-16 11:55:01 +01:00
parent ece8641767
commit 43d174b891
No known key found for this signature in database
GPG Key ID: E4C40DBD9157879A
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ pub(crate) trait PersistCompletionObserver: Send + Sync + Debug {
} }
/// A set of details describing the persisted data. /// A set of details describing the persisted data.
#[derive(Debug, Clone)] #[derive(Debug)]
pub struct CompletedPersist { pub struct CompletedPersist {
/// The catalog identifiers for the persisted partition. /// The catalog identifiers for the persisted partition.
namespace_id: NamespaceId, namespace_id: NamespaceId,