File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ winnow = "0.6"
4141dyn-clone = " 1"
4242derive_more = { version = " 1" , features = [" debug" ] }
4343home = " 0.5"
44- dirs = " 5 .0"
44+ dirs = " 6 .0"
4545itertools = " >=0.13, <=0.14"
4646
4747# project-util
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ use winnow::{
1616 ascii:: space1,
1717 combinator:: { alt, opt, preceded} ,
1818 token:: { take_till, take_while} ,
19- PResult , Parser ,
19+ ModalResult , Parser ,
2020} ;
2121
2222#[ derive( Clone , Debug , PartialEq ) ]
@@ -161,7 +161,7 @@ fn parse_imports(content: &str) -> Vec<VyperImport> {
161161}
162162
163163/// Parses given input, trying to find (import|from) part1.part2.part3 (import part4)?
164- fn parse_import ( input : & mut & str ) -> PResult < VyperImport > {
164+ fn parse_import ( input : & mut & str ) -> ModalResult < VyperImport > {
165165 (
166166 preceded (
167167 ( alt ( [ "from" , "import" ] ) , space1) ,
You can’t perform that action at this time.
0 commit comments