alpha
Login
or
Join now
nandi.uk
/
gleam
Star
2
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Fork of daniellemaywood.uk/gleam — Wasm codegen work
Star
2
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
Clippy!
author
Gears
committer
Louis Pilfold
date
7 months ago
(Dec 17, 2025, 10:20 AM UTC)
commit
a5d9c58a
a5d9c58aeb92436c3b3811173b1c51b025ea7dd7
parent
109453f8
109453f895412c3d87f410dc126d275b90c81ea4
change-id
wyutvpwy
wyutvpwynvxqpnnwmmqxvqvpwxpptvlk
+7
-7
1 changed file
Expand all
Collapse all
Unified
Split
compiler-core
src
format.rs
+7
-7
compiler-core/src/format.rs
View file
Reviewed
···
838
838
} = function;
839
839
840
840
let attributes = AttributesPrinter::new()
841
841
-
.set_deprecation(&deprecation)
841
841
+
.set_deprecation(deprecation)
842
842
.set_internal(*publicity)
843
843
-
.set_external_erlang(&external_erlang)
844
844
-
.set_external_javascript(&external_javascript)
843
843
+
.set_external_erlang(external_erlang)
844
844
+
.set_external_javascript(external_javascript)
845
845
.to_doc();
846
846
847
847
// Fn name and args
···
883
883
884
884
// Format body
885
885
886
886
-
let body = self.statements(&body);
886
886
+
let body = self.statements(body);
887
887
888
888
// Add any trailing comments
889
889
let body = match printed_comments(self.pop_comments(*end_position), false) {
···
1816
1816
let _ = self.pop_empty_lines(location.end);
1817
1817
1818
1818
let attributes = AttributesPrinter::new()
1819
1819
-
.set_deprecation(&deprecation)
1819
1819
+
.set_deprecation(deprecation)
1820
1820
.set_internal(*publicity)
1821
1821
-
.set_external_erlang(&external_erlang)
1822
1822
-
.set_external_javascript(&external_javascript)
1821
1821
+
.set_external_erlang(external_erlang)
1822
1822
+
.set_external_javascript(external_javascript)
1823
1823
.to_doc();
1824
1824
1825
1825
let doc = attributes