mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 15:01:16 -03:00
Make ParsedSource::new pub
It will be used from main
This commit is contained in:
committed by
Fabian Boehm
parent
3777bc941f
commit
cf8e0ae1b5
@@ -114,7 +114,7 @@ unsafe impl Sync for ParsedSource {}
|
||||
const _: () = assert_sync::<ParsedSource>();
|
||||
|
||||
impl ParsedSource {
|
||||
fn new(src: WString, ast: Ast) -> Self {
|
||||
pub fn new(src: WString, ast: Ast) -> Self {
|
||||
let src_ffi = src.to_ffi();
|
||||
ParsedSource { src, src_ffi, ast }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user