From 71e5da095f9ad7d819610eb3cbb6d2d1fadd7927 Mon Sep 17 00:00:00 2001 From: Marcin Szamotulski Date: Mon, 12 Feb 2024 21:19:59 +0100 Subject: [PATCH] Updated StyleGuide --- docs/StyleGuide.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/StyleGuide.md b/docs/StyleGuide.md index 71562f9e245..7a529c2ee29 100644 --- a/docs/StyleGuide.md +++ b/docs/StyleGuide.md @@ -1018,6 +1018,7 @@ the rules below, it is good practice to update the code's style to match them. -Widentities -Wredundant-constraints -Wmissing-export-lists + -Wunused-packages -Wno-unticked-promoted-constructors ``` @@ -1053,7 +1054,7 @@ the rules below, it is good practice to update the code's style to match them. foo = foo_ ``` - Without the extra wrapper `foo`, the call stack would only start at `_foo`, + Without the extra wrapper `foo`, the call stack would only start at `foo_`, which is rather useless. 22. __Ambiguous types__: we avoid `AllowAmbiguousTypes`. Instead, we add a