mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-01-05 06:48:42 +00:00
gstreamer: Add #[must_use]
annotation to PadTemplateBuilder
This commit is contained in:
parent
c1d3ed5eac
commit
45e16f7753
1 changed files with 1 additions and 0 deletions
|
@ -101,6 +101,7 @@ impl PadTemplate {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[must_use = "The builder must be built to be used"]
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub struct PadTemplateBuilder<'a> {
|
pub struct PadTemplateBuilder<'a> {
|
||||||
name_template: &'a str,
|
name_template: &'a str,
|
||||||
|
|
Loading…
Reference in a new issue