mirror of
https://github.com/nushell/nushell.git
synced 2025-07-01 07:00:37 +02:00
Rename add_decls() to use_decls() (#395)
To reflect better what the method actually does.
This commit is contained in:
@ -595,7 +595,7 @@ impl<'a> StateWorkingSet<'a> {
|
||||
decl_id
|
||||
}
|
||||
|
||||
pub fn add_decls(&mut self, decls: Vec<(Vec<u8>, DeclId)>) {
|
||||
pub fn use_decls(&mut self, decls: Vec<(Vec<u8>, DeclId)>) {
|
||||
let scope_frame = self
|
||||
.delta
|
||||
.scope
|
||||
|
Reference in New Issue
Block a user