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 @@ -90,7 +90,7 @@ enum FileContent {
9090}
9191
9292impl FileContent {
93- fn load ( & self ) -> Fallible < Cow < [ u8 ] > > {
93+ fn load ( & self ) -> Fallible < Cow < ' _ , [ u8 ] > > {
9494 Ok ( match * self {
9595 FileContent :: Static ( content) => Cow :: Borrowed ( content) ,
9696 FileContent :: Dynamic ( ref path) => {
@@ -108,7 +108,7 @@ pub struct Asset {
108108}
109109
110110impl Asset {
111- pub fn content ( & self ) -> Fallible < Cow < [ u8 ] > > {
111+ pub fn content ( & self ) -> Fallible < Cow < ' _ , [ u8 ] > > {
112112 self . content . load ( )
113113 }
114114
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ enum SanitizationContext {
133133}
134134
135135impl SanitizationContext {
136- fn sanitize ( self , input : & str ) -> Cow < str > {
136+ fn sanitize ( self , input : & str ) -> Cow < ' _ , str > {
137137 match self {
138138 SanitizationContext :: Url => utf8_percent_encode ( input, & REPORT_ENCODE_SET ) . into ( ) ,
139139
You can’t perform that action at this time.
0 commit comments