style: trailing whitespaces removed to make pre-commit happy

This commit is contained in:
Mateusz Pusz
2024-02-27 14:10:43 +01:00
parent bcca52e298
commit 88e2656dc7

View File

@@ -296,7 +296,7 @@ inline constexpr bool space_before_unit_symbol<non_si::degree> = false;
The above works only for [the default formatting](#default-formatting) or for the format The above works only for [the default formatting](#default-formatting) or for the format
strings that use `%?` placement field (`std::format("{}", q)` is equivalent to strings that use `%?` placement field (`std::format("{}", q)` is equivalent to
`std::format("{:%N%?%U}", q)`). `std::format("{:%N%?%U}", q)`).
In case a user provides custom format specification (e.g., `std::format("{:%N %U}", q)`), In case a user provides custom format specification (e.g., `std::format("{:%N %U}", q)`),
the library will always obey this specification for all the units (no matter what the actual the library will always obey this specification for all the units (no matter what the actual
value of the `space_before_unit_symbol` customization point is) and the separating space will always value of the `space_before_unit_symbol` customization point is) and the separating space will always
@@ -503,7 +503,7 @@ Also, there are a few options to separate the units being multiplied. ISO 80000
When symbols for quantities are combined in a product of two or more quantities, this combination When symbols for quantities are combined in a product of two or more quantities, this combination
is indicated in one of the following ways: `ab`, `a b`, `a · b`, `a × b` is indicated in one of the following ways: `ab`, `a b`, `a · b`, `a × b`
_NOTE 1_ In some fields, e.g., vector algebra, distinction is made between `a ∙ b` and `a × b`. _NOTE 1_ In some fields, e.g., vector algebra, distinction is made between `a ∙ b` and `a × b`.
The library supports `a b` and `a · b` only. Additionally, we decided that the extraneous space The library supports `a b` and `a · b` only. Additionally, we decided that the extraneous space
@@ -634,7 +634,7 @@ Thanks to the grammar provided above, the user can easily decide to either:
The above grammar allows repeating the same field many times, possibly with a different The above grammar allows repeating the same field many times, possibly with a different
format spec. For example: format spec. For example:
```cpp ```cpp
std::println("Speed: {:%N {%N:.4f} {%N:.2f} {%U:n}}", 100. * km / (3 * h)); std::println("Speed: {:%N {%N:.4f} {%N:.2f} {%U:n}}", 100. * km / (3 * h));
``` ```