diff options
| author | clubby789 <jamie@hill-daniel.co.uk> | 2025-07-03 10:13:19 +0000 |
|---|---|---|
| committer | clubby789 <jamie@hill-daniel.co.uk> | 2025-07-03 10:20:53 +0000 |
| commit | 21c8715bf735da40636ddd443f6139d923cc67d2 (patch) | |
| tree | 29257c2d2e8b4461554238d8bc1790be0a71ff31 | |
| parent | 6268d0aa34b46981533b09827c1454b8cf27e032 (diff) | |
| download | rust-21c8715bf735da40636ddd443f6139d923cc67d2.tar.gz rust-21c8715bf735da40636ddd443f6139d923cc67d2.zip | |
Link to 2024 edition page for `!` fallback changes
| -rw-r--r-- | library/core/src/primitive_docs.rs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/library/core/src/primitive_docs.rs b/library/core/src/primitive_docs.rs index f55bdfeb354..2c77c55745b 100644 --- a/library/core/src/primitive_docs.rs +++ b/library/core/src/primitive_docs.rs @@ -304,14 +304,12 @@ mod prim_bool {} /// This is what is known as "never type fallback". /// /// Historically, the fallback type was [`()`], causing confusing behavior where `!` spontaneously -/// coerced to `()`, even when it would not infer `()` without the fallback. There are plans to -/// change it in the [2024 edition] (and possibly in all editions on a later date); see -/// [Tracking Issue for making `!` fall back to `!`][fallback-ti]. +/// coerced to `()`, even when it would not infer `()` without the fallback. The fallback was changed +/// to `!` in the [2024 edition], and will be changed in all editions at a later date. /// /// [coercion site]: <https://doc.rust-lang.org/reference/type-coercions.html#coercion-sites> /// [`()`]: prim@unit -/// [fallback-ti]: <https://github.com/rust-lang/rust/issues/123748> -/// [2024 edition]: <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/index.html> +/// [2024 edition]: <https://doc.rust-lang.org/edition-guide/rust-2024/never-type-fallback.html> /// #[unstable(feature = "never_type", issue = "35121")] mod prim_never {} |
