File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,13 +20,13 @@ pub struct Deserializer<'de> {
2020}
2121
2222/// Parse a Corn configuration string into a borrowed value.
23- pub fn parse ( input : & str ) -> Result < BorrowedValue > {
23+ pub fn parse ( input : & str ) -> Result < BorrowedValue < ' _ > > {
2424 Deserializer :: parse ( input)
2525}
2626
2727impl < ' de > Deserializer < ' de > {
2828 /// Parse a Corn configuration string into a borrowed value.
29- pub fn parse ( input : & str ) -> Result < BorrowedValue > {
29+ pub fn parse ( input : & str ) -> Result < BorrowedValue < ' _ > > {
3030 let mut lexer = Lexer :: new ( input) ;
3131 let parser = RootParser :: new ( ) ;
3232 let Root { inputs, object } = parser
@@ -85,7 +85,7 @@ impl<'de> Deserializer<'de> {
8585 for pair_or_spread in & obj. pairs {
8686 match pair_or_spread {
8787 PairOrSpread :: Pair ( key, value) => {
88- fn unescape_key ( key : & str ) -> Cow < str > {
88+ fn unescape_key ( key : & str ) -> Cow < ' _ , str > {
8989 if key. contains ( "\\ '" ) {
9090 Cow :: Owned ( key. replace ( "\\ '" , "'" ) )
9191 } else {
You can’t perform that action at this time.
0 commit comments