File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -119,22 +119,22 @@ pub struct SyntectAdapterBuilder<'a> {
119119}
120120
121121impl < ' a > SyntectAdapterBuilder < ' a > {
122- fn new ( ) -> Self {
122+ pub fn new ( ) -> Self {
123123 Default :: default ( )
124124 }
125- fn theme ( mut self , s : & ' a str ) -> Self {
125+ pub fn theme ( mut self , s : & ' a str ) -> Self {
126126 self . theme . replace ( s) ;
127127 self
128128 }
129- fn syntax_set ( mut self , s : SyntaxSet ) -> Self {
129+ pub fn syntax_set ( mut self , s : SyntaxSet ) -> Self {
130130 self . syntax_set . replace ( s) ;
131131 self
132132 }
133- fn theme_set ( mut self , s : ThemeSet ) -> Self {
133+ pub fn theme_set ( mut self , s : ThemeSet ) -> Self {
134134 self . theme_set . replace ( s) ;
135135 self
136136 }
137- fn build ( self ) -> SyntectAdapter < ' a > {
137+ pub fn build ( self ) -> SyntectAdapter < ' a > {
138138 SyntectAdapter {
139139 theme : self . theme . unwrap_or ( "InspiredGitHub" ) ,
140140 syntax_set : self
You can’t perform that action at this time.
0 commit comments