aboutsummaryrefslogtreecommitdiff
path: root/mingling_core/src/comp
diff options
context:
space:
mode:
Diffstat (limited to 'mingling_core/src/comp')
-rw-r--r--mingling_core/src/comp/shell_ctx.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/mingling_core/src/comp/shell_ctx.rs b/mingling_core/src/comp/shell_ctx.rs
index ceb433f..65ee9e2 100644
--- a/mingling_core/src/comp/shell_ctx.rs
+++ b/mingling_core/src/comp/shell_ctx.rs
@@ -194,6 +194,8 @@ impl ShellContext {
note = "When using the `picker` feature, this method does not work under all ParserStyle settings"
)
)]
+ // On different platforms, it might not be possible to be a const fn, so we should allow it
+ #[allow(clippy::missing_const_for_fn)]
pub fn typing_argument(&self) -> bool {
#[cfg(target_os = "windows")]
{