Address a number of clippy complaints
This commit is contained in:
@@ -11,9 +11,11 @@ impl AsRef<dyn telepathy::ConnectionInterfaceAvatars + 'static> for std::rc::Rc<
|
||||
}
|
||||
}
|
||||
|
||||
type AvatarRequirementSpec = (Vec<String>, u16, u16, u16, u16, u32);
|
||||
|
||||
// TODO: come back and do this properly, I'm just putting it in for consistency
|
||||
impl telepathy::ConnectionInterfaceAvatars for Connection {
|
||||
fn get_avatar_requirements(&self) -> Result<(Vec<String>, u16, u16, u16, u16, u32), MethodErr> {
|
||||
fn get_avatar_requirements(&self) -> Result<AvatarRequirementSpec, MethodErr> {
|
||||
println!("Connection<{}>::get_avatar_requirements()", self.id);
|
||||
Ok((vec![], 0, 0, 0, 0, 0))
|
||||
}
|
||||
|
Reference in New Issue
Block a user