fix: user agent not works

This commit is contained in:
GyDi committed 2022-03-11 19:50:51 +08:00
1 parent a41438d779
commit d4b5c55169
3 files changed
+38 -7

No files matched your search

+1 -1
View File
@@ -68,7 +68,7 @@ macro_rules! wrap_err {
/// return the string literal error
#[macro_export]
macro_rules! ret_err {
($str: literal) => {
($str: expr) => {
return Err($str.into())
};
}