Skip to content

Commit 784f0e5

Browse files
committed
chore: fix lint
1 parent 35ae83e commit 784f0e5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tiktoken-rs/src/api.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ pub struct ChatCompletionRequestMessage {
8484
/// # Returns
8585
///
8686
/// * `Result<usize>`: A Result containing the total number of tokens needed to encode the messages
87-
/// for the specified model, or an error if the tokenizer for the model is not found or not supported.
87+
/// for the specified model, or an error if the tokenizer for the model is not found or not supported.
8888
///
8989
/// # Errors
9090
///

tiktoken-rs/src/vendor_tiktoken.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// This check is new and seems buggy (possibly with PyO3 interaction)
2+
#![allow(clippy::doc_lazy_continuation)]
23
#![allow(clippy::borrow_deref_ref)]
34
#![allow(non_local_definitions)]
45
use std::collections::HashSet;

0 commit comments

Comments
 (0)