aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_hir/src/generics.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_hir/src/generics.rs b/crates/ra_hir/src/generics.rs
index 9c261eda9..c35482ae8 100644
--- a/crates/ra_hir/src/generics.rs
+++ b/crates/ra_hir/src/generics.rs
@@ -22,9 +22,9 @@ use crate::{
22#[derive(Clone, PartialEq, Eq, Debug)] 22#[derive(Clone, PartialEq, Eq, Debug)]
23pub struct GenericParam { 23pub struct GenericParam {
24 // FIXME: give generic params proper IDs 24 // FIXME: give generic params proper IDs
25 pub(crate) idx: u32, 25 pub idx: u32,
26 pub(crate) name: Name, 26 pub name: Name,
27 pub(crate) default: Option<Path>, 27 pub default: Option<Path>,
28} 28}
29 29
30/// Data about the generic parameters of a function, struct, impl, etc. 30/// Data about the generic parameters of a function, struct, impl, etc.