aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorAustin Hellyer <[email protected]>2016-12-03 13:21:27 -0800
committerAustin Hellyer <[email protected]>2016-12-03 13:21:27 -0800
commit61ca1ca1f2990131870b643edf77cc06bec9d7ff (patch)
tree9738b4015af9625c9e15ae16f46d9f20f87c5d10 /src/utils
parentDerive Eq/Ord on Colour (diff)
downloadserenity-61ca1ca1f2990131870b643edf77cc06bec9d7ff.tar.xz
serenity-61ca1ca1f2990131870b643edf77cc06bec9d7ff.zip
Make Member::colour() return an optional colour
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/colour.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/utils/colour.rs b/src/utils/colour.rs
index c62630a..47ed7e8 100644
--- a/src/utils/colour.rs
+++ b/src/utils/colour.rs
@@ -304,10 +304,9 @@ colour! {
impl Default for Colour {
/// Creates a default value for a `Colour`, setting the inner value to `0`.
- /// This is equivilant to setting the RGB value to `(153, 170, 181)`.
fn default() -> Colour {
Colour {
- value: 0x99AAB5,
+ value: 0,
}
}
}