mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-15 01:17:27 +00:00
Make GenericArgs::from_ast pub(crate)
This commit is contained in:
parent
795d718ba1
commit
3c7c7e5a04
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ impl Path {
|
|||
}
|
||||
|
||||
impl GenericArgs {
|
||||
pub fn from_ast(node: &ast::TypeArgList) -> Option<GenericArgs> {
|
||||
pub(crate) fn from_ast(node: &ast::TypeArgList) -> Option<GenericArgs> {
|
||||
let mut args = Vec::new();
|
||||
for type_arg in node.type_args() {
|
||||
let type_ref = TypeRef::from_ast_opt(type_arg.type_ref());
|
||||
|
|
Loading…
Reference in a new issue