| author | |
| committer | |
| log | 973b44056185132c1abc5bd5fb1c8c2c45d3d329 |
| tree | efbd912c0d144a0304aa7639533cf58bb1874b91 |
| parent | fdb88708527742e450e4c566024d9d50ce61dd8d |
Some recent change makes slice concatenation runtime (merge #12368), so the example needs to be explicitly made comptime.1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/log.zig+1-1| ... | ... | @@ -38,7 +38,7 @@ |
| 38 | 38 | //! return, |
| 39 | 39 | //! } ++ "): "; |
| 40 | 40 | //! |
| 41 | //! const prefix = "[" ++ level.asText() ++ "] " ++ scope_prefix; | |
| 41 | //! const prefix = "[" ++ comptime level.asText() ++ "] " ++ scope_prefix; | |
| 42 | 42 | //! |
| 43 | 43 | //! // Print the message to stderr, silently ignoring any errors |
| 44 | 44 | //! std.debug.getStderrMutex().lock(); |