aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/path.rs
diff options
context:
space:
mode:
authorFlorian Diebold <[email protected]>2019-02-16 22:05:57 +0000
committerFlorian Diebold <[email protected]>2019-02-16 22:06:41 +0000
commita1bda3fc084bb6aa4979282b4907db9885fac9af (patch)
treede0f6864caba195ac3a0e463ab7a49e5adc66e8f /crates/ra_hir/src/path.rs
parent65bd9bc3a800e09f52a315cf98e86c120c366c2c (diff)
Handle generic args for method calls
Diffstat (limited to 'crates/ra_hir/src/path.rs')
-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 8ed54607a..83bbbb741 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 fn from_ast(node: &ast::TypeArgList) -> Option<GenericArgs> { 132 pub 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());