From 4b5e68390c06937cad180162dc986ca5d95b226c Mon Sep 17 00:00:00 2001 From: Chielo Date: Tue, 28 Nov 2023 16:01:50 +0800 Subject: [PATCH] chore(derive): derive Clone and Debug for `OwnedGeneralSAM` (#44) --- src/utils/tokenize.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/tokenize.rs b/src/utils/tokenize.rs index 6e7f445..6efec1e 100644 --- a/src/utils/tokenize.rs +++ b/src/utils/tokenize.rs @@ -28,6 +28,7 @@ pub struct GreedyTokenizer< suffix_data: Vec>, } +#[derive(Clone, Debug)] pub struct OwnedGeneralSAM { pub sam: GeneralSAM, }