Original commit: c9c496b2e2
This commit is contained in:
Wojciech Daniło 2020-01-03 14:46:27 +01:00 committed by GitHub
parent 5af7a0fd2f
commit 1e0de6fc24

View File

@ -78,6 +78,7 @@ impl Default for AxisOrder {
}
// =================
// === Transform ===
// =================
@ -98,6 +99,7 @@ impl Default for TransformOrder {
}
// =============================
// === HierarchicalTransform ===
// =============================
@ -123,6 +125,7 @@ impl<OnChange> HierarchicalTransform<OnChange> {
}
}
// === Getters ===
impl<OnChange> HierarchicalTransform<OnChange> {
@ -137,6 +140,7 @@ impl<OnChange> HierarchicalTransform<OnChange> {
...
}
// === Setters ===
impl<OnChange:Callback0> HierarchicalTransform<OnChange> {
@ -157,12 +161,15 @@ impl<OnChange:Callback0> HierarchicalTransform<OnChange> {
### Vertical spacing
We use the following amount of vertical spacing:
- 2 blank lines after imports
- 2 blank lines before each section.
- 1 blank line before and after sub-section.
- 3 blank lines after imports.
- 3 blank lines before each section.
- 2 blank line before and after sub-section.
- 1 blank line before functions / structures / impls.
- 1 blank line at the end of the file.
Please note that vertical spacing overlapps. For example, if there is a section
after imports, the total number of blank lines is 3, not 6.
### Multiline Expressions
Most (preferably all) expressions should be single line. Multiline expression is