@@ -12,10 +12,10 @@ use crate::{
12
12
legacy:: url_to_file_path_cross_platform, CompileResult , Options ,
13
13
StringOptions , Syntax , Url ,
14
14
} ;
15
- pub use crate :: { BoxedLogger , Logger , OutputStyle } ;
15
+ pub use crate :: { BoxLogger , Logger , OutputStyle } ;
16
16
17
17
use super :: {
18
- BoxedLegacyImporter , LegacyImporter , END_OF_LOAD_PROTOCOL ,
18
+ BoxLegacyImporter , LegacyImporter , END_OF_LOAD_PROTOCOL ,
19
19
LEGACY_IMPORTER_PROTOCOL ,
20
20
} ;
21
21
@@ -265,14 +265,14 @@ impl LegacyOptionsBuilder {
265
265
/// Sets the [LegacyOptions]'s [sass_importers] field with [SassLegacyImporter]s.
266
266
pub fn sass_importers (
267
267
mut self ,
268
- arg : impl IntoIterator < Item = impl Into < BoxedLegacyImporter > > ,
268
+ arg : impl IntoIterator < Item = impl Into < BoxLegacyImporter > > ,
269
269
) -> Self {
270
270
self . options . importers = Some ( arg. into_iter ( ) . map ( |i| i. into ( ) ) . collect ( ) ) ;
271
271
self
272
272
}
273
273
274
274
/// Adds a [SassLegacyImporter] to the [LegacyOptions]'s [sass_importers] field.
275
- pub fn sass_importer ( mut self , arg : impl Into < BoxedLegacyImporter > ) -> Self {
275
+ pub fn sass_importer ( mut self , arg : impl Into < BoxLegacyImporter > ) -> Self {
276
276
self . options . importers =
277
277
Some ( if let Some ( mut importers) = self . options . importers {
278
278
importers. push ( arg. into ( ) ) ;
@@ -359,7 +359,7 @@ pub struct LegacyOptions {
359
359
pub source_map_contents : bool ,
360
360
/// More information: [Sass documentation](https://sass-lang.com/documentation/js-api/interfaces/LegacySharedOptions#importer)
361
361
#[ cfg_attr( feature = "serde" , serde( skip) ) ]
362
- pub importers : Option < Vec < BoxedLegacyImporter > > ,
362
+ pub importers : Option < Vec < BoxLegacyImporter > > ,
363
363
/// More information: [Sass documentation](https://sass-lang.com/documentation/js-api/interfaces/LegacySharedOptions#charset)
364
364
pub charset : bool ,
365
365
/// More information: [Sass documentation](https://sass-lang.com/documentation/js-api/interfaces/LegacySharedOptions#quietDeps)
@@ -368,7 +368,7 @@ pub struct LegacyOptions {
368
368
pub verbose : bool ,
369
369
/// More information: [Sass documentation](https://sass-lang.com/documentation/js-api/interfaces/LegacySharedOptions#logger)
370
370
#[ cfg_attr( feature = "serde" , serde( skip) ) ]
371
- pub logger : Option < BoxedLogger > ,
371
+ pub logger : Option < BoxLogger > ,
372
372
/// More information: [Sass documentation](https://sass-lang.com/documentation/js-api/interfaces/LegacyFileOptions#file)
373
373
pub file : Option < PathBuf > ,
374
374
/// More information: [Sass documentation](https://sass-lang.com/documentation/js-api/interfaces/LegacyStringOptions#data)
0 commit comments