Skip to content

Commit

Permalink
Derive Debug for CoreBPE struct
Browse files Browse the repository at this point in the history
  • Loading branch information
tristan-jl authored and zurawiki committed Aug 14, 2023
1 parent bcb3e71 commit c2fcd40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tiktoken-rs/src/vendor_tiktoken.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ pub struct CoreBPE {
}

#[cfg(not(feature = "python"))]
#[derive(Clone)]
#[derive(Debug, Clone)]
#[allow(dead_code)] // sorted_token_bytes is used but is read only in python version
pub struct CoreBPE {
encoder: HashMap<Vec<u8>, usize>,
Expand Down

0 comments on commit c2fcd40

Please sign in to comment.