We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
inherent_str_constructors
1 parent db289bc commit f0972c2Copy full SHA for f0972c2
src/handlers/git.rs
@@ -54,7 +54,7 @@ pub async fn info_refs(
54
55
let mut body = String::new();
56
body.push_str(protocol);
57
- body.push_str(str::from_utf8(&refs).unwrap());
+ body.push_str(&String::from_utf8(refs).unwrap());
58
59
let content_type = format!("application/x-git-{}-advertisement", srv);
60
0 commit comments