Skip to main content

print_progress

Function print_progress 

Source
pub fn print_progress(msg: &str, percent: Option<u8>)
Expand description

进度提示工具函数 示例:print_progress(“正在请求 github.com 获取PR内容”, Some(30)); print_progress(“正在请求 github.com 获取PR内容”, Some(100)); print_progress(“正在请求 api.openai.com 进行代码审查”, None);