aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorFlorian Diebold <[email protected]>2019-02-17 13:54:48 +0000
committerFlorian Diebold <[email protected]>2019-02-17 13:55:04 +0000
commit3c7c7e5a04306f8b68dffef2b5ca84628ed81ce2 (patch)
tree71f3719509f3fb46f5d2ce5a93da42ea67b23b70 /crates
parent795d718ba17545aedb0475051332aed6db2104ed (diff)
Make GenericArgs::from_ast pub(crate)
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_hir/src/path.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/path.rs b/crates/ra_hir/src/path.rs
index 83bbbb741..6ca373e34 100644
--- a/crates/ra_hir/src/path.rs
+++ b/crates/ra_hir/src/path.rs
@@ -129,7 +129,7 @@ impl Path {
129} 129}
130 130
131impl GenericArgs { 131impl GenericArgs {
132 pub fn from_ast(node: &ast::TypeArgList) -> Option<GenericArgs> { 132 pub(crate) fn from_ast(node: &ast::TypeArgList) -> Option<GenericArgs> {
133 let mut args = Vec::new(); 133 let mut args = Vec::new();
134 for type_arg in node.type_args() { 134 for type_arg in node.type_args() {
135 let type_ref = TypeRef::from_ast_opt(type_arg.type_ref()); 135 let type_ref = TypeRef::from_ast_opt(type_arg.type_ref());