chore: remove redundant word in comment (#30338)
remove redundant word in comment Release Notes: - remove redundant word in comment Signed-off-by: yetyear <flite@outlook.com>
This commit is contained in:
@@ -706,7 +706,7 @@ pub fn solid_background(color: impl Into<Hsla>) -> Background {
|
||||
|
||||
/// Creates a LinearGradient background color.
|
||||
///
|
||||
/// The gradient line's angle of direction. A value of `0.` is equivalent to to top; increasing values rotate clockwise from there.
|
||||
/// The gradient line's angle of direction. A value of `0.` is equivalent to top; increasing values rotate clockwise from there.
|
||||
///
|
||||
/// The `angle` is in degrees value in the range 0.0 to 360.0.
|
||||
///
|
||||
|
||||
@@ -291,7 +291,7 @@ pub fn monitor_main_thread_hangs(
|
||||
// ASYNC SIGNAL SAFETY: This lock is only accessed one other time,
|
||||
// which can only be triggered by This signal handler. In addition,
|
||||
// this signal handler is immediately removed by SA_RESETHAND, and this
|
||||
// signal handler cannot be re-entrant due to to the SIGUSR2 mask defined
|
||||
// signal handler cannot be re-entrant due to the SIGUSR2 mask defined
|
||||
// below
|
||||
let mut bt = BACKTRACE.lock();
|
||||
bt.clear();
|
||||
|
||||
Reference in New Issue
Block a user