Remove unnecessary mut

This commit is contained in:
Sebastian Dröge 2018-10-08 09:09:14 +03:00
parent 3069af42bb
commit 5d17718e3b

View file

@ -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
}