Keep constants and types sorted; only functions are unsorted.
This commit is contained in:
parent
c3e39301e2
commit
6e67fe837b
|
@ -227,6 +227,7 @@ fn generate_module(
|
|||
.definitions
|
||||
.iter()
|
||||
.flat_map(|def| DocType::from_definition(def, &source_linker))
|
||||
.sorted()
|
||||
.collect();
|
||||
types
|
||||
.iter()
|
||||
|
@ -238,6 +239,7 @@ fn generate_module(
|
|||
.definitions
|
||||
.iter()
|
||||
.flat_map(|def| DocConstant::from_definition(def, &source_linker))
|
||||
.sorted()
|
||||
.collect();
|
||||
constants
|
||||
.iter()
|
||||
|
|
Loading…
Reference in New Issue