mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-02 06:42:02 +00:00
Fix release build warning about unused todo type message (#16102)
This commit is contained in:
parent
7b487d853a
commit
ce31c2693b
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ impl<'db> Symbol<'db> {
|
||||||
|
|
||||||
/// Constructor that creates a [`Symbol`] with a [`crate::types::TodoType`] type
|
/// Constructor that creates a [`Symbol`] with a [`crate::types::TodoType`] type
|
||||||
/// and boundness [`Boundness::Bound`].
|
/// and boundness [`Boundness::Bound`].
|
||||||
|
#[allow(unused_variables)]
|
||||||
pub(crate) fn todo(message: &'static str) -> Self {
|
pub(crate) fn todo(message: &'static str) -> Self {
|
||||||
Symbol::Type(todo_type!(message), Boundness::Bound)
|
Symbol::Type(todo_type!(message), Boundness::Bound)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue