Skip to content

Commit ab1861b

Browse files
committed
Rename variable name dropping m prefix
1 parent 5fccccb commit ab1861b

File tree

1 file changed

+3
-3
lines changed
  • hnix-store-core/src/System/Nix

1 file changed

+3
-3
lines changed

hnix-store-core/src/System/Nix/Nar.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,12 +175,12 @@ getNar = fmap Nar $ header >> parens getFile
175175
assertStr "entry"
176176
parens $ do
177177
assertStr "name"
178-
mname <- E.decodeUtf8 . BSL.toStrict <$> str
178+
name <- E.decodeUtf8 . BSL.toStrict <$> str
179179
assertStr "node"
180180
file <- parens getFile
181-
maybe (fail $ "Bad FilePathPart: " ++ show mname)
181+
maybe (fail $ "Bad FilePathPart: " ++ show name)
182182
(return . (,file))
183-
(filePathPart $ E.encodeUtf8 mname)
183+
(filePathPart $ E.encodeUtf8 name)
184184

185185
-- Fetch a length-prefixed, null-padded string
186186
str = fmap snd sizedStr

0 commit comments

Comments
 (0)