diff options
author | Florian Diebold <[email protected]> | 2019-02-17 13:54:48 +0000 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2019-02-17 13:55:04 +0000 |
commit | 3c7c7e5a04306f8b68dffef2b5ca84628ed81ce2 (patch) | |
tree | 71f3719509f3fb46f5d2ce5a93da42ea67b23b70 /crates/ra_hir | |
parent | 795d718ba17545aedb0475051332aed6db2104ed (diff) |
Make GenericArgs::from_ast pub(crate)
Diffstat (limited to 'crates/ra_hir')
-rw-r--r-- | crates/ra_hir/src/path.rs | 2 |
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 | ||
131 | impl GenericArgs { | 131 | impl 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()); |