diff --git a/src/cowboy_dispatcher.erl b/src/cowboy_dispatcher.erl
index fae18fc6..5b75398d 100644
--- a/src/cowboy_dispatcher.erl
+++ b/src/cowboy_dispatcher.erl
@@ -45,7 +45,7 @@
%% PathRules being a list of {Path, HandlerMod, HandlerOpts}.
%%
%% Hostname and Path are match rules and can be either the
-%% atom '_', which matches everything, <<"*">>, which match the
+%% atom '_', which matches everything, `<<"*">>', which match the
%% wildcard path, or a list of tokens.
%%
%% Each token can be either a binary, the atom '_',
diff --git a/src/cowboy_multipart.erl b/src/cowboy_multipart.erl
index a9c378e4..83c41a89 100644
--- a/src/cowboy_multipart.erl
+++ b/src/cowboy_multipart.erl
@@ -99,7 +99,7 @@ prefixes(<<>>, Acc) ->
[Acc].
%% @doc Test if a boundary is a possble suffix.
-%% The patterns are expected to have been returned from `pattern/1`.
+%% The patterns are expected to have been returned from `pattern/1'.
-spec suffix_match(binary(), patterns()) -> nomatch | {integer(), integer()}.
suffix_match(Bin, {_Boundary, {Pat, Len}}) ->
Size = byte_size(Bin),