get_safe_preview

Function get_safe_preview 

Source
pub fn get_safe_preview(content: impl Into<String>, max_length: usize) -> String
Expand description

安全的获取需要的长度