Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
sffc committed Aug 18, 2021
1 parent 763efbb commit 170b4aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion provider/blob/src/path_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ use writeable::Writeable;
pub fn resource_path_to_string(resource_path: &ResourcePath) -> String {
let mut output = String::with_capacity(resource_path.write_len().capacity() + 1);
output.push('/');
resource_path.write_to(&mut output)
resource_path
.write_to(&mut output)
.expect("impl Write for String is infallible");
output
}

0 comments on commit 170b4aa

Please sign in to comment.