Skip to content

Commit 0660042

Browse files
committed
Apply suggestions on PR and linter
1 parent 3241e3d commit 0660042

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler-cli/templates/gleam@@compile.erl

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ do_compile_elixir(Modules, Out) ->
141141
{ok, ModuleAtoms, _} ->
142142
ToBeam = fun(ModuleAtom) ->
143143
Beam = filename:join(Out, atom_to_list(ModuleAtom)) ++ ".beam",
144-
log({compiled, ModuleAtom, Beam}),
144+
log({compiled, Beam}),
145145
{ModuleAtom, Beam}
146146
end,
147147
{true, lists:map(ToBeam, ModuleAtoms)};

compiler-core/src/codegen.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ impl<'a> ErlangApp<'a> {
116116
.chain(native_modules)
117117
.unique()
118118
.sorted()
119-
.map(|m| escape_atom_string((&m).clone().into()))
119+
.map(|m| escape_atom_string(m.clone().into()))
120120
.join(",\n ");
121121

122122
// TODO: When precompiling for production (i.e. as a precompiled hex

0 commit comments

Comments
 (0)