You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-08-06 06:02:40 +03:00
Add instance privacy policy, TOS and imprint, and loads of design cleanups
This commit is contained in:
@@ -30,9 +30,7 @@ struct AcceptLanguagePart {
|
||||
|
||||
impl PartialOrd for AcceptLanguagePart {
|
||||
fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
|
||||
// When comparing two AcceptLanguage structs, we only consider the
|
||||
// quality, in reverse.
|
||||
Reverse(self.quality).partial_cmp(&Reverse(other.quality))
|
||||
Some(self.cmp(other))
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user