mirror of
https://github.com/nushell/nushell.git
synced 2025-05-20 01:40:47 +02:00
# Description Both `Block` and `Pipeline` had `Index`/`IndexMut` implementations to access their elements, that are currently unused. Explicit helpers or iteration would generally be preferred anyways but in the current state the inner containers are `pub` and are liberally used. (Sometimes with potentially panicking indexing or also iteration) As it is potentially unclear what the meaning of the element from a block or pipeline queried by a usize is, let's remove it entirely until we come up with a better API. # User-Facing Changes None Plugin authors shouldn't dig into AST internals |
||
---|---|---|
.. | ||
block.rs | ||
call.rs | ||
cell_path.rs | ||
expr.rs | ||
expression.rs | ||
import_pattern.rs | ||
match_pattern.rs | ||
mod.rs | ||
operator.rs | ||
pipeline.rs |