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 @@ -1235,7 +1235,7 @@ pub enum Style {
12351235#[ derive( Clone , Debug , PartialEq ) ]
12361236#[ allow( missing_docs) ]
12371237pub struct FormattedSpan {
1238- pub range : std :: ops:: Range < usize > ,
1238+ pub range : core :: ops:: Range < usize > ,
12391239 pub style : Style ,
12401240}
12411241
Original file line number Diff line number Diff line change @@ -185,8 +185,8 @@ pub fn open_url(url: &str) {
185185 }
186186}
187187
188- pub fn escape_markdown ( text : & str ) -> std :: string:: String {
189- let mut out = std :: string:: String :: with_capacity ( text. len ( ) ) ;
188+ pub fn escape_markdown ( text : & str ) -> alloc :: string:: String {
189+ let mut out = alloc :: string:: String :: with_capacity ( text. len ( ) ) ;
190190
191191 for c in text. chars ( ) {
192192 match c {
You can’t perform that action at this time.
0 commit comments