From 656e746bcbe60876bcfb17223e9f55585b9e2e22 Mon Sep 17 00:00:00 2001 From: josh11b Date: Tue, 22 Feb 2022 17:18:27 -0800 Subject: [PATCH] Fix some links in proposals (#1090) --- proposals/p0107.md | 2 +- proposals/p0339.md | 4 ++-- proposals/p0722.md | 2 +- proposals/p0731.md | 5 +++-- proposals/p0777.md | 2 +- proposals/p0998.md | 2 +- 6 files changed, 9 insertions(+), 8 deletions(-) diff --git a/proposals/p0107.md b/proposals/p0107.md index a5f314402595..0031767d83d0 100644 --- a/proposals/p0107.md +++ b/proposals/p0107.md @@ -268,7 +268,7 @@ Advantages: Disadvantages: - We are likely to want a more fine-grained, file-level approach proposed by - [name lookup](name_lookup.md). + [name lookup](/docs/design/name_lookup.md). - Allows package owners to name their packages things that they rarely type, but that importers end up typing frequently. - The existence of a short `package` keyword shifts the balance for long diff --git a/proposals/p0339.md b/proposals/p0339.md index 7227566b3e1f..588ff4e93568 100644 --- a/proposals/p0339.md +++ b/proposals/p0339.md @@ -221,8 +221,8 @@ something like `let mut` in Rust. However, this is not assumed by this proposal: appropriately [focuses on encouraging appropriate usage of features rather than restricting misuse](/docs/project/goals.md#code-that-is-easy-to-read-understand-and-write)). - Lower verbosity syntax for variables is more - [consistent with C++](c-as-baseline), even if constants are made less - verbose by way of `let`. + [consistent with C++](p0285.md#c-as-baseline), even if constants are made + less verbose by way of `let`. ### Multiple identifiers in one statement diff --git a/proposals/p0722.md b/proposals/p0722.md index 9c06a88ab930..422967603739 100644 --- a/proposals/p0722.md +++ b/proposals/p0722.md @@ -46,7 +46,7 @@ which laid a foundation. ## Proposal -The proposal is to update [docs/design/classes.md](docs/design/classes.md) as +The proposal is to update [docs/design/classes.md](/docs/design/classes.md) as described in [this PR](https://github.com/carbon-language/carbon-lang/pull/701). ## Rationale based on Carbon's goals diff --git a/proposals/p0731.md b/proposals/p0731.md index a8aa7c341200..c8caba0c727b 100644 --- a/proposals/p0731.md +++ b/proposals/p0731.md @@ -191,8 +191,9 @@ One benefit is that it allows an interface to evolve by adding an associated type, without having to then modify all implementations of that interface. One concern is this might be a little more complicated in the presence of method -overloads with [default implementations](interface-defaults), since it might not -be clear how they should match up, as in this example: +overloads with +[default implementations](/docs/design/generics/details.md#interface-defaults), +since it might not be clear how they should match up, as in this example: ``` interface Has2OverloadsWithDefaults { diff --git a/proposals/p0777.md b/proposals/p0777.md index 1a2a09c05fac..4628df3e592d 100644 --- a/proposals/p0777.md +++ b/proposals/p0777.md @@ -56,7 +56,7 @@ This is a follow up to these previous proposals defining classes: ## Proposal -The proposal is to update [docs/design/classes.md](docs/design/classes.md) as +The proposal is to update [docs/design/classes.md](/docs/design/classes.md) as described in [this PR](https://github.com/carbon-language/carbon-lang/pull/777). ## Rationale based on Carbon's goals diff --git a/proposals/p0998.md b/proposals/p0998.md index b0998b375ab6..0931833df481 100644 --- a/proposals/p0998.md +++ b/proposals/p0998.md @@ -45,7 +45,7 @@ Proposal is to use interfaces as the single open extension mechanism. ## Details Details are in the added principle doc: -[docs/project/principles/static_open_extension.md](docs/project/principles/static_open_extension.md). +[docs/project/principles/static_open_extension.md](/docs/project/principles/static_open_extension.md). ## Rationale based on Carbon's goals