diff --git a/src/client/youtube/data.rs b/src/client/youtube/data.rs index 02cf3ec..638c156 100644 --- a/src/client/youtube/data.rs +++ b/src/client/youtube/data.rs @@ -84,7 +84,7 @@ pub(crate) fn create_youtube_title( Location::Playlist => Some(YOUTUBE_TITLE_MAX_LENGTH), Location::Other => None, }; - shorten_string_if_needed(&title, max_len); + let title = shorten_string_if_needed(&title, max_len); Ok(title) }