about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYacin Tmimi <yacintmimi@gmail.com>2024-06-18 16:55:56 -0400
committerCaleb Cartwright <calebcartwright@users.noreply.github.com>2024-06-21 16:57:45 -0500
commit9748af80c60a03deb79d430ebe6e6fea037ecb03 (patch)
tree11b222d8f143b900d8c21a7dd8d704b8ae7b6400
parent0737d553edb57744a12ba0deabafbeed21c6d6b2 (diff)
downloadrust-9748af80c60a03deb79d430ebe6e6fea037ecb03.tar.gz
rust-9748af80c60a03deb79d430ebe6e6fea037ecb03.zip
reorder link reference definitions and one changelog entry
Moved the link reference definitions closer to where they were being
used and moved the `type ascription` formatting fix to the correct
section.
-rw-r--r--CHANGELOG.md23
1 files changed, 11 insertions, 12 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a96fb29da76..2ee07a02b7d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,6 +13,7 @@
   // It NFC-normalizes to ó, U+00F3 LATIN SMALL LETTER O WITH ACUTE.
   trait Foó: Bar {}
   ```
+  [unicode normalization form]: https://unicode.org/reports/tr15/
 - Ensure a space is added to a range expression, when the right hand side of the range expression is a binary expression that ends with a trailing period [#6059](https://github.com/rust-lang/rustfmt/issues/6059)
   ```rust
   let range = 3. / 2. ..4.;
@@ -41,9 +42,12 @@
       }
   }
   ```
-
-[log crate]: https://crates.io/crates/log
-[unicode normalization form]: https://unicode.org/reports/tr15/
+- Output correct syntax for type ascription builtin [#6159](https://github.com/rust-lang/rustfmt/issues/6159)
+  ```rust
+  fn main() {
+      builtin # type_ascribe(10, usize)
+  }
+  ```
 
 
 ### Changed
@@ -52,6 +56,8 @@
 - The diff output produced by `rustfmt --check` is more compatable with editors that support navigating directly to line numbers [#5971](https://github.com/rust-lang/rustfmt/pull/5971)
 - When using `version=Two`, the `trace!` macro from the [log crate] is now formatted similarly to `debug!`, `info!`, `warn!`, and `error!` [#5987](https://github.com/rust-lang/rustfmt/issues/5987).
 
+  [log crate]: https://crates.io/crates/log
+
 
 ### Added
 
@@ -66,15 +72,8 @@
 - Addressed clap deprecations output when running `cargo check --features clap/deprecated` [#6101](https://github.com/rust-lang/rustfmt/pull/6101)
 - Bumped bytecount `0.6.4` -> `0.6.8` to fix compilation issues with the `generic-simd` feature. See [bytecount#92] and [bytecount#93]
 
-[bytecount#92]: https://github.com/llogiq/bytecount/pull/92
-[bytecount#93]: https://github.com/llogiq/bytecount/pull/93
-
-- Output correct syntax for type ascription builtin [#6159](https://github.com/rust-lang/rustfmt/issues/6159)
-  ```rust
-  fn main() {
-      builtin # type_ascribe(10, usize)
-  }
-  ```
+  [bytecount#92]: https://github.com/llogiq/bytecount/pull/92
+  [bytecount#93]: https://github.com/llogiq/bytecount/pull/93
 
 ## [1.7.0] 2023-10-22