summaryrefslogtreecommitdiff
path: root/xmake/core/base/string.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-09-10 00:23:05 +0800
committerruki <[email protected]>2022-09-10 00:23:05 +0800
commitab747804e6d647b92f67bd71c93b59b518215786 (patch)
tree0fba5009cfae0ebe5c29a08f3df8e5bd09ca6577 /xmake/core/base/string.lua
parent0833468d324910a5062f567238a6e25c93161e75 (diff)
remove unused comments
Diffstat (limited to 'xmake/core/base/string.lua')
-rw-r--r--xmake/core/base/string.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/xmake/core/base/string.lua b/xmake/core/base/string.lua
index 686f36d18..43b0096b4 100644
--- a/xmake/core/base/string.lua
+++ b/xmake/core/base/string.lua
@@ -155,8 +155,6 @@ end
-- try to format
function string.tryformat(format, ...)
-
- -- attempt to format it
local ok, str = pcall(string.format, format, ...)
if ok then
return str