about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTshepang Mbambo <hopsi@tuta.io>2025-05-27 21:21:18 +0200
committerGitHub <noreply@github.com>2025-05-27 21:21:18 +0200
commitba91db386e7b90749c37bafd2e27dbef473cf213 (patch)
tree0e1ef9ff7de94fd4c00e90fa6e0c41e28de12e2b
parenta07a972e2df7f99874d73ebec922d303aa24de0b (diff)
downloadrust-ba91db386e7b90749c37bafd2e27dbef473cf213.tar.gz
rust-ba91db386e7b90749c37bafd2e27dbef473cf213.zip
make link not inline
-rw-r--r--src/doc/rustc-dev-guide/src/solve/opaque-types.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/solve/opaque-types.md b/src/doc/rustc-dev-guide/src/solve/opaque-types.md
index 1136e7a459a..6898ef3aa78 100644
--- a/src/doc/rustc-dev-guide/src/solve/opaque-types.md
+++ b/src/doc/rustc-dev-guide/src/solve/opaque-types.md
@@ -1,8 +1,10 @@
 # Opaque types in the new solver
 
-The way [opaque types](../opaque-types-type-alias-impl-trait.md) are handled in the new solver differs from the old implementation.
+The way [opaque types] are handled in the new solver differs from the old implementation.
 This should be a self-contained explanation of the behavior in the new solver.
 
+[opaque types]: ../opaque-types-type-alias-impl-trait.md
+
 ## opaques are alias types
 
 Opaque types are treated the same as other aliases, most notabily associated types,