From 3414ad35e58936d4be9136ba4cd0ddbe78d831a7 Mon Sep 17 00:00:00 2001 From: Adrian Kumpf <8999358+adriankumpf@users.noreply.github.com> Date: Wed, 18 May 2022 12:48:05 +0200 Subject: [PATCH] Fix indentation --- lib/mail_parser.ex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/mail_parser.ex b/lib/mail_parser.ex index 388a0b4..a18703f 100644 --- a/lib/mail_parser.ex +++ b/lib/mail_parser.ex @@ -17,7 +17,7 @@ defmodule MailParser do alias __MODULE__.Attachment @doc """ - Parses string containing a RFC5322 raw message and extracts all nested + Parses a string containing a RFC5322 raw message and extracts all nested attachments. A best-effort is made to parse the message and if no headers are found @@ -25,8 +25,8 @@ defmodule MailParser do ### Example - iex> MailParser.extract_nested_attachments(raw_message) - {:ok, [%MailParser.Attachment{name: "example.pdf", content_type: "application/pdf", content_bytes: "..."}]} + iex> MailParser.extract_nested_attachments(raw_message) + {:ok, [%MailParser.Attachment{name: "example.pdf", content_type: "application/pdf", content_bytes: "..."}]} """ @spec extract_nested_attachments(String.t()) :: {:ok, [Attachment.t()]} | :error