CLI interface to medialist (fossil mirror)
修訂 | 9f0512c982b2923bbaea49efe6de50a219cdcbe5 (tree) |
---|---|
時間 | 2021-11-13 14:29:42 |
作者 | mio <stigma@disr...> |
Commiter | mio |
@safe expandEnvironmentVariables
FossilOrigin-Name: 3b0a065fdd94aa21d8a3b6195f38661dc58739e19e721d31b30d21d7892edb58
@@ -63,7 +63,7 @@ _log(string msg, bool err = false) | ||
63 | 63 | * |
64 | 64 | * This function does $(B NOT) expand tildes. |
65 | 65 | */ |
66 | -@trusted public string | |
66 | +@safe public string | |
67 | 67 | expandEnvironmentVariables(string str) |
68 | 68 | { |
69 | 69 | import std.array : appender; |
@@ -114,7 +114,7 @@ expandEnvironmentVariables(string str) | ||
114 | 114 | } |
115 | 115 | |
116 | 116 | /// |
117 | -@trusted unittest | |
117 | +@safe unittest | |
118 | 118 | { |
119 | 119 | import std.process : environment; |
120 | 120 |