Skip to content

Commit 948d59c

Browse files
committed
check
1 parent 4a6a45a commit 948d59c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

context-py/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ fn branch_class_to_string(branch_class: env::parser::BranchClass) -> String {
6161
#[gen_stub_pyfunction]
6262
#[pyfunction]
6363
fn ci_platform_to_string(ci_platform: env::parser::CIPlatform) -> String {
64-
ci_platform.to_string().into()
64+
String::from(Into::<&str>::into(ci_platform))
6565
}
6666

6767
#[gen_stub_pyfunction]

0 commit comments

Comments
 (0)