提交 4b5a3d73 编写于 作者: N Norman Clarke

Remove useless parens

上级 60bbdf7d
......@@ -123,7 +123,7 @@ def g_unpack(string)
# Example:
# Unicode.g_pack(Unicode.g_unpack('क्षि')) # => 'क्षि'
def g_pack(unpacked)
(unpacked.flatten).pack('U*')
unpacked.flatten.pack('U*')
end
# Re-order codepoints so the string becomes canonical.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册