Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
v0idpwn committed Dec 22, 2024
1 parent 2723492 commit 02daaf4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/protobuf/dsl.ex
Original file line number Diff line number Diff line change
Expand Up @@ -254,11 +254,11 @@ defmodule Protobuf.DSL do
_ ->
raise CompileError, """
Transform module #{inspect(unquote(transform_module_ast))} not available
during protobuf definition compilation.
during Protobuf definition compilation.
Since protobuf v0.14, protobuf definitions depend in compile time on
Since Protobuf v0.14, Protobuf definitions depend in compile time on
their transform modules. This means that transform modules can't depend
on protobuf structs, and must be available for compilation when protobuf
on Protobuf structs, and must be available for compilation when Protobuf
definitions are compiled.
"""
end
Expand Down
2 changes: 1 addition & 1 deletion lib/protobuf/transform_module.ex
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ defmodule Protobuf.TransformModule do
@callback decode(message(), type()) :: value()

@doc """
Transforms the typespec for modules using this transformer
Transforms the typespec for modules using this transformer.
If this callback is not present, the default typespec will be used.
"""
Expand Down

0 comments on commit 02daaf4

Please sign in to comment.