File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ pub fn parse_from(path: &std::path::Path) -> CargoResult<RawScript> {
21
21
parse ( & body, path)
22
22
}
23
23
24
- pub fn parse ( body : & str , path : & std:: path:: Path ) -> CargoResult < RawScript > {
24
+ fn parse ( body : & str , path : & std:: path:: Path ) -> CargoResult < RawScript > {
25
25
let comment = match extract_comment ( body) {
26
26
Ok ( manifest) => Some ( manifest) ,
27
27
Err ( err) => {
@@ -99,7 +99,7 @@ fn write(
99
99
Ok ( manifest_path)
100
100
}
101
101
102
- pub fn expand_manifest ( script : & RawScript , config : & Config ) -> CargoResult < String > {
102
+ fn expand_manifest ( script : & RawScript , config : & Config ) -> CargoResult < String > {
103
103
let manifest = expand_manifest_ ( script, config)
104
104
. with_context ( || format ! ( "failed to parse manifest at {}" , script. path. display( ) ) ) ?;
105
105
let manifest = remap_paths (
You can’t perform that action at this time.
0 commit comments