mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-01-03 05:48:43 +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)]
|
||||
pub struct PadTemplateBuilder<'a> {
|
||||
name_template: &'a str,
|
||||
|
|
Loading…
Reference in a new issue