Rename add_decls() to use_decls() (#395)

To reflect better what the method actually does.
This commit is contained in:
Jakub Žádník
2021-12-02 00:25:51 +02:00
committed by GitHub
parent d8c721282b
commit 124561ff12
2 changed files with 2 additions and 2 deletions

View File

@ -763,7 +763,7 @@ pub fn parse_use(
};
// Extend the current scope with the module's overlay
working_set.add_decls(decls_to_use);
working_set.use_decls(decls_to_use);
// Create the Use command call
let use_decl_id = working_set