about summary refs log tree commit diff stats
path: root/src/config/mailcap.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/mailcap.nim')
-rw-r--r--src/config/mailcap.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config/mailcap.nim b/src/config/mailcap.nim
index 3e801734..0b879491 100644
--- a/src/config/mailcap.nim
+++ b/src/config/mailcap.nim
@@ -50,7 +50,7 @@ proc `$`*(entry: MailcapEntry): string =
   if entry.test != "":
     s &= ";test=" & entry.test
   s &= '\n'
-  return s
+  move(s)
 
 proc has(state: MailcapParser; buf: openArray[char]): bool {.inline.} =
   return state.at < buf.len
@@ -227,7 +227,7 @@ proc quoteFile*(file: string; qs: QuoteState): string =
     elif qs == qsNormal:
       s &= '\\'
     s &= c
-  return s
+  move(s)
 
 proc unquoteCommand*(ecmd, contentType, outpath: string; url: URL;
     canpipe: var bool; line = -1): string =