Fixed a syntax error in to_rust() function

This commit is contained in:
memN0ps 2022-10-31 16:55:06 +13:00
parent 8033f801fd
commit 5f04963584
1 changed files with 1 additions and 0 deletions

View File

@ -99,6 +99,7 @@ module Rex
ret = ret[0..ret.length - 2] unless str.empty? # cut off last comma
ret << "\n" if ret.split("\n").last.length + 2 > wrap
ret << "];\n"
end
#
# Creates a Rust style comment