Skip to content

Commit 6a937f0

Browse files
committed
fix warning
1 parent 4b43ef8 commit 6a937f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/encoding.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ impl Encoding {
9595
let core_bpe = CoreBPE::new(
9696
mergeable_ranks.clone(),
9797
special_tokens.clone(),
98-
pat_str.clone(),
98+
pat_str,
9999
)
100100
.map_err(|e| EncodingError::GenericEncodingError(format!("Error creating core BPE: {}", e)))?;
101101

0 commit comments

Comments
 (0)