From 3c7c7e5a04306f8b68dffef2b5ca84628ed81ce2 Mon Sep 17 00:00:00 2001 From: Florian Diebold Date: Sun, 17 Feb 2019 14:54:48 +0100 Subject: Make GenericArgs::from_ast pub(crate) --- crates/ra_hir/src/path.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { } impl GenericArgs { - pub fn from_ast(node: &ast::TypeArgList) -> Option { + pub(crate) fn from_ast(node: &ast::TypeArgList) -> Option { let mut args = Vec::new(); for type_arg in node.type_args() { let type_ref = TypeRef::from_ast_opt(type_arg.type_ref()); -- cgit v1.2.3