mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 02:45:08 +02:00
external call
This commit is contained in:
@ -137,7 +137,7 @@ impl EngineState {
|
||||
output
|
||||
}
|
||||
|
||||
pub fn get_span_contents(&self, span: Span) -> &[u8] {
|
||||
pub fn get_span_contents(&self, span: &Span) -> &[u8] {
|
||||
&self.file_contents[span.start..span.end]
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user