From e14d33521f5941491ecb95de883d84b4c57496f4 Mon Sep 17 00:00:00 2001 From: jonmeow Date: Wed, 21 Aug 2024 15:08:20 -0700 Subject: [PATCH] apply suggestion --- docs/design/declaring_entities.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/design/declaring_entities.md b/docs/design/declaring_entities.md index ada3074295683..cd2a666e3d2d5 100644 --- a/docs/design/declaring_entities.md +++ b/docs/design/declaring_entities.md @@ -71,8 +71,8 @@ apply the rules: - When two named declarations declare the same entity, the second is said to be a _redeclaration_. - Two owned declarations _differ_ if they don't syntactically match. - - The non-owned `extern library` declarations only require semantic - matching. + - Otherwise, if one is a non-owned `extern library` declaration, + declarations differ if they don't match semantically. - The program is invalid if it contains two declarations of the same entity that differ.