mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-25 19:11:06 +00:00
Remove unnecessary mut
This commit is contained in:
parent
682ca91070
commit
2df623c09a
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