From f6b00d4aa6022e2f3e0320a6970e67a15b1789b1 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Mon, 10 Jul 2023 11:14:09 +0200 Subject: [PATCH] docs: TOC for "Simple and Typed Quantities" refactored based on feedback from @chiphogg --- .../framework_basics/simple_and_typed_quantities.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/users_guide/framework_basics/simple_and_typed_quantities.md b/docs/users_guide/framework_basics/simple_and_typed_quantities.md index c6d7c5b3..da372526 100644 --- a/docs/users_guide/framework_basics/simple_and_typed_quantities.md +++ b/docs/users_guide/framework_basics/simple_and_typed_quantities.md @@ -85,7 +85,7 @@ A car driving 110 km in 2 h has an average speed of 15.2778 m/s (55 km/h) !!! example "[Try it on Compiler Explorer](https://godbolt.org/z/W6Ej7aqxj)" -## Easy to understand compilation error messages +### Easy to understand compilation error messages In case a user makes an error in a quantity equation and the result of the calculation will not match the function return type, the compiler will detect such an issue at @@ -171,7 +171,7 @@ error: could not convert 'mp_units::operator*