File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1429,7 +1429,7 @@ impl Ingredient {
1429
1429
1430
1430
/// Automatically generate a thumbnail for the ingredient if missing and enabled in settings.
1431
1431
///
1432
- /// This function takes into account the [Settings][crate::Settings]:
1432
+ /// This function takes into account the [Settings][crate::settings:: Settings]:
1433
1433
/// * `builder.thumbnail.enabled`
1434
1434
#[ cfg( feature = "add_thumbnails" ) ]
1435
1435
pub fn maybe_add_thumbnail < R > ( & mut self , format : & str , stream : & mut R ) -> Result < ( ) >
Original file line number Diff line number Diff line change @@ -99,6 +99,7 @@ impl fmt::Display for ThumbnailFormat {
99
99
/// * `builder.thumbnail.ignore_errors`
100
100
///
101
101
/// Read [make_thumbnail_from_stream] for more information.
102
+ #[ cfg_attr( feature = "v1_api" , allow( dead_code) ) ]
102
103
#[ cfg( feature = "file_io" ) ]
103
104
pub fn make_thumbnail_bytes_from_path (
104
105
path : & std:: path:: Path ,
You can’t perform that action at this time.
0 commit comments