Skip to content

Commit f0972c2

Browse files
committed
fix: use of unstable library feature inherent_str_constructors
1 parent db289bc commit f0972c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/handlers/git.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ pub async fn info_refs(
5454

5555
let mut body = String::new();
5656
body.push_str(protocol);
57-
body.push_str(str::from_utf8(&refs).unwrap());
57+
body.push_str(&String::from_utf8(refs).unwrap());
5858

5959
let content_type = format!("application/x-git-{}-advertisement", srv);
6060

0 commit comments

Comments
 (0)