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.
1 parent 4a6a45a commit 948d59cCopy full SHA for 948d59c
context-py/src/lib.rs
@@ -61,7 +61,7 @@ fn branch_class_to_string(branch_class: env::parser::BranchClass) -> String {
61
#[gen_stub_pyfunction]
62
#[pyfunction]
63
fn ci_platform_to_string(ci_platform: env::parser::CIPlatform) -> String {
64
- ci_platform.to_string().into()
+ String::from(Into::<&str>::into(ci_platform))
65
}
66
67
0 commit comments