chore: Fix release unused method warning.

This commit is contained in:
Jason Lee 2025-07-30 15:44:35 +08:00
parent e2153c9198
commit b2ce262da9

View file

@ -725,6 +725,7 @@ impl InputState {
/// Set with disabled mode.
///
/// See also: [`Self::set_disabled`], [`Self::is_disabled`].
#[allow(unused)]
pub(crate) fn disabled(mut self, disabled: bool) -> Self {
self.disabled = disabled;
self