From 0db096f16998d93ed062c0c6656e589591ce9c70 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Mon, 11 Mar 2024 13:21:08 -0700 Subject: [PATCH] Update text/0000-packages-as-optional-namespaces.md Co-authored-by: Oli Scherer --- text/0000-packages-as-optional-namespaces.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/text/0000-packages-as-optional-namespaces.md b/text/0000-packages-as-optional-namespaces.md index 9a671507a..6913eed8d 100644 --- a/text/0000-packages-as-optional-namespaces.md +++ b/text/0000-packages-as-optional-namespaces.md @@ -7,7 +7,7 @@ Languages like C++ have open namespaces where anyone can write code in any namespace. In C++'s case, this includes the `std` namespace and is only limited by convention. In contrast, Rust has closed namespaces which can only include code from the original namespace definition (the crate). -This proposal extends Rust to have partially open namespaces by allowing crate owners to create crates like `parent::foo` that will be available as part of the crate `parent`'s namespace. To protect the use of open namepsaces, the owners of `parent` has exclusive access to publishing crates in that namespace. +This proposal extends Rust to have partially open namespaces by allowing crate owners to create crates like `parent::foo` that will be available as part of the crate `parent`'s namespace. To protect the use of open namespaces, the owners of `parent` has exclusive access to publishing crates in that namespace. # Motivation