about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2025-04-22 13:15:56 +0200
committerLukas Wirth <lukastw97@gmail.com>2025-04-22 13:15:56 +0200
commitc1cad77ac6c2cb231c35ad0bef77bb4c3d2cb3cc (patch)
tree149e3ea554921c77d3fc446e2040b1b922040ab4
parent4a5ec885963e22458dd120a791ed7d9ac2e402e6 (diff)
downloadrust-c1cad77ac6c2cb231c35ad0bef77bb4c3d2cb3cc.tar.gz
rust-c1cad77ac6c2cb231c35ad0bef77bb4c3d2cb3cc.zip
minor: Fix outdated comment in hir-ty/generics.rs
-rw-r--r--src/tools/rust-analyzer/crates/hir-ty/src/generics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rust-analyzer/crates/hir-ty/src/generics.rs b/src/tools/rust-analyzer/crates/hir-ty/src/generics.rs
index d174da9997a..2a997e0a9f1 100644
--- a/src/tools/rust-analyzer/crates/hir-ty/src/generics.rs
+++ b/src/tools/rust-analyzer/crates/hir-ty/src/generics.rs
@@ -1,10 +1,10 @@
 //! Utilities for working with generics.
 //!
 //! The layout for generics as expected by chalk are as follows:
+//! - Parent parameters
 //! - Optional Self parameter
 //! - Lifetime parameters
 //! - Type or Const parameters
-//! - Parent parameters
 //!
 //! where parent follows the same scheme.
 use std::ops;