Skip to content

Commit

Permalink
Rename let variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonkearns committed Oct 2, 2020
1 parent 073a4b3 commit 9158bea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Markdown/Parser.elm
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,12 @@ type alias Parser a =
inlineParseHelper : LinkReferenceDefinitions -> UnparsedInlines -> List Block.Inline
inlineParseHelper referencesDict (UnparsedInlines unparsedInlines) =
let
referencesDict2 =
mappedReferencesDict =
referencesDict
|> List.map (Tuple.mapSecond (\{ destination, title } -> ( destination, title )))
|> Dict.fromList
in
Markdown.InlineParser.parse referencesDict2 unparsedInlines
Markdown.InlineParser.parse mappedReferencesDict unparsedInlines
|> List.map mapInline


Expand Down

0 comments on commit 9158bea

Please sign in to comment.