Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zurawiki committed Oct 12, 2024
1 parent 35ae83e commit 784f0e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tiktoken-rs/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ pub struct ChatCompletionRequestMessage {
/// # Returns
///
/// * `Result<usize>`: A Result containing the total number of tokens needed to encode the messages
/// for the specified model, or an error if the tokenizer for the model is not found or not supported.
/// for the specified model, or an error if the tokenizer for the model is not found or not supported.
///
/// # Errors
///
Expand Down
1 change: 1 addition & 0 deletions tiktoken-rs/src/vendor_tiktoken.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This check is new and seems buggy (possibly with PyO3 interaction)
#![allow(clippy::doc_lazy_continuation)]
#![allow(clippy::borrow_deref_ref)]
#![allow(non_local_definitions)]
use std::collections::HashSet;
Expand Down

0 comments on commit 784f0e5

Please sign in to comment.