Add @safe and final where possible, remove unnecessary documentation and fix incorrect indentation

This commit is contained in:
Jeremy Baxter 2023-12-05 08:59:35 +13:00
parent 472261e15a
commit 97c9c427ff
2 changed files with 22 additions and 33 deletions

2
esv.d
View file

@ -219,7 +219,7 @@ key = %s
esv.extraParameters = iniData["api"].getKey("parameters");
string
returnValid(string def, string val)
returnValid(string def, string val) @safe
{
return val == "" ? def : val;
}