Fixed a syntax error in to_rust() function
This commit is contained in:
parent
8033f801fd
commit
5f04963584
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue