mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
fix typo
This commit is contained in:
parent
e3b3206286
commit
3a83b0c415
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ pub fn build_module<'a>(
|
|||
// file header. Therefore sorting high to low will put other functions before main
|
||||
//
|
||||
// This means that for now other functions in the file have to be ordered "in reverse": if A
|
||||
// uses B, then the name of A must first occur after the first occurence of the name of B
|
||||
// uses B, then the name of A must first occur after the first occurrence of the name of B
|
||||
let mut procedures: std::vec::Vec<_> = procedures.into_iter().collect();
|
||||
procedures.sort_by(|a, b| b.0 .0.cmp(&a.0 .0));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue