mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-01-10 17:25:33 +00:00
Remove unnecessary mut
This commit is contained in:
parent
3069af42bb
commit
5d17718e3b
1 changed files with 1 additions and 1 deletions
|
@ -467,7 +467,7 @@ impl<'a> EncodingContainerProfileBuilder<'a> {
|
|||
Ok(container_profile)
|
||||
}
|
||||
|
||||
pub fn add_profile<P: IsA<EncodingProfile>>(mut self, profile: &P) -> Self {
|
||||
pub fn add_profile<P: IsA<EncodingProfile>>(self, profile: &P) -> Self {
|
||||
self.helper_profile.add_profile(profile).unwrap();
|
||||
self
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue