Remove unnecessary mut

This commit is contained in:
Sebastian Dröge 2018-10-08 09:09:14 +03:00
parent 682ca91070
commit 2df623c09a

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
}