mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 22:50:14 +02:00
Rename add_decls() to use_decls() (#395)
To reflect better what the method actually does.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user