Optimize some redundant stuff

このコミットが含まれているのは:
techmetx11 2023-03-29 23:33:23 +00:00
コミット 73d2ed6f77
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 20E0C88A0E7E5AF2
1個のファイルの変更2行の追加2行の削除

ファイルの表示

@ -64,8 +64,8 @@ def parse_description(desc : JSON::Any?) : String?
length = command["length"].as_i
if start_index > 0 && start_index - index > 0
str << content[index..(start_index - 1)]
index += start_index - index
str << content[index...start_index]
index = start_index
end
str << parse_command(command, content[start_index, length])