Remove ! from todo!() in comments (#8643)
This practice makes it difficult to locate todo!s in my code when I'm working. Let's take out the bang if we want to keep doing this. Release Notes: - N/A
This commit is contained in:
parent
dab886f479
commit
4cc4f08a53
39 changed files with 116 additions and 116 deletions
|
@ -197,7 +197,7 @@ pub struct ColorStates {
|
|||
|
||||
/// Returns a set of colors for different states of an element.
|
||||
///
|
||||
/// todo!("This should take a theme and use appropriate colors from it")
|
||||
/// todo("This should take a theme and use appropriate colors from it")
|
||||
pub fn states_for_color(color: RGBAColor, is_light: bool) -> ColorStates {
|
||||
let adjustment_factor = if is_light { 0.1 } else { -0.1 };
|
||||
let hover_adjustment = 1.0 - adjustment_factor;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue