summaryrefslogtreecommitdiffstats
path: root/src/utils/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/mod.rs')
-rw-r--r--src/utils/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/mod.rs b/src/utils/mod.rs
index 31a05e2..e8369d8 100644
--- a/src/utils/mod.rs
+++ b/src/utils/mod.rs
@@ -88,7 +88,7 @@ pub fn estimate_token_length(text: &str) -> usize {
output.ceil() as usize
}
-pub fn strip_think_tag(text: &str) -> Cow<str> {
+pub fn strip_think_tag(text: &str) -> Cow<'_, str> {
THINK_TAG_RE.replace_all(text, "")
}