• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

CLI interface to medialist (fossil mirror)


Commit MetaInfo

Revisión9f0512c982b2923bbaea49efe6de50a219cdcbe5 (tree)
Tiempo2021-11-13 14:29:42
Autormio <stigma@disr...>
Commitermio

Log Message

@safe expandEnvironmentVariables

FossilOrigin-Name: 3b0a065fdd94aa21d8a3b6195f38661dc58739e19e721d31b30d21d7892edb58

Cambiar Resumen

Diferencia incremental

--- a/util.d
+++ b/util.d
@@ -63,7 +63,7 @@ _log(string msg, bool err = false)
6363 *
6464 * This function does $(B NOT) expand tildes.
6565 */
66-@trusted public string
66+@safe public string
6767 expandEnvironmentVariables(string str)
6868 {
6969 import std.array : appender;
@@ -114,7 +114,7 @@ expandEnvironmentVariables(string str)
114114 }
115115
116116 ///
117-@trusted unittest
117+@safe unittest
118118 {
119119 import std.process : environment;
120120