diff --git a/crates/ruff_linter/src/rules/flake8_async/rules/long_sleep_not_forever.rs b/crates/ruff_linter/src/rules/flake8_async/rules/long_sleep_not_forever.rs index ae623a4514867f..42dfdc30ba5f98 100644 --- a/crates/ruff_linter/src/rules/flake8_async/rules/long_sleep_not_forever.rs +++ b/crates/ruff_linter/src/rules/flake8_async/rules/long_sleep_not_forever.rs @@ -34,6 +34,10 @@ use crate::rules::flake8_async::helpers::AsyncModule; /// async def func(): /// await trio.sleep_forever() /// ``` +/// +/// ## Fix safety +/// +/// This fix is marked as unsafe as it changes program behavior. #[derive(ViolationMetadata)] pub(crate) struct LongSleepNotForever { module: AsyncModule,