Skip to content

Commit 09742a6

Browse files
committed
Avoid using f string formatting
1 parent 05156f8 commit 09742a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parse_opcodes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ def make_rust():
685685
print("#[repr(C)]")
686686
print("pub enum Csr {")
687687
for csr in csrs+csrs32:
688-
print(f' {make_camel_case(csr[1])} = 0x{csr[0]:03x},')
688+
print(" {} = 0x{:03x},".format(make_camel_case(csr[1]), csr[0]))
689689
print("}")
690690

691691

0 commit comments

Comments
 (0)