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
Giacomo Cavalieri
committer
Louis Pilfold
date
2 years ago
(Apr 8, 2024, 11:54 AM +0100)
commit
8ec955ed
8ec955ed798b4844f71ead7cf0837aeab16f8fb2
parent
7cdfa641
7cdfa641c58b8dd0a63987f2c818d0f98f60f7fa
+1
-1
1 changed file
Expand all
Collapse all
Unified
Split
compiler-core
src
format.rs
+1
-1
compiler-core/src/format.rs
View file
Reviewed
···
290
290
291
291
/// Prints the imports as a single sorted group of import statements.
292
292
///
293
293
-
fn sorted_import_group<'a>(&mut self, imports: &Vec<&'a TargetedDefinition>) -> Document<'a> {
293
293
+
fn sorted_import_group<'a>(&mut self, imports: &[&'a TargetedDefinition]) -> Document<'a> {
294
294
let imports = imports
295
295
.iter()
296
296
.sorted_by(|one, other| match (&one.definition, &other.definition) {