We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11cd1f5 commit ba0da32Copy full SHA for ba0da32
vm/src/stdlib/posix.rs
@@ -1888,7 +1888,7 @@ pub mod module {
1888
let pathname = vm.ctx.new_dict();
1889
for variant in PathconfVar::VARIANTS {
1890
// get the name of variant as a string to use as the dictionary key
1891
- let key: PyObjectRef = vm.ctx.new_str(variant.to_string()).into();
+ let key = vm.ctx.new_str(variant.to_string());
1892
// get the enum from the string and convert it to an integer for the dictionary value
1893
let value: PyObjectRef = vm
1894
.ctx
0 commit comments