Skip to content

Commit cf109a6

Browse files
author
Karol
committed
fix: clippy & doc
1 parent e4cd608 commit cf109a6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
#![warn(unused_crate_dependencies)]
3131
#![warn(clippy::print_stdout, clippy::print_stderr)]
3232
// END LINEBENDER LINT SET
33-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
3433
// The following lints are part of the Linebender standard set,
3534
// but resolving them has been deferred for now.
3635
// Feel free to send a PR that solves one or more of these.

src/render.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pub(crate) fn render_group<F: FnMut(&mut Scene, &usvg::Node)>(
2222
if alpha < 1.0 {
2323
vello::peniko::Mix::Normal
2424
} else {
25-
#[expect(deprecated)]
25+
#[expect(deprecated, reason = "Not applicable")]
2626
vello::peniko::Mix::Clip
2727
}
2828
}
@@ -63,7 +63,7 @@ pub(crate) fn render_group<F: FnMut(&mut Scene, &usvg::Node)>(
6363
true
6464
}
6565
// Ignore if we're in `Mix::Clip` mode and there's nothing to clip.
66-
#[expect(deprecated)]
66+
#[expect(deprecated, reason = "Not applicable")]
6767
_ if !matches!(mix, vello::peniko::Mix::Clip) => {
6868
// Use bounding box as the clip path.
6969
let bounding_box = g.layer_bounding_box();

0 commit comments

Comments
 (0)