We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fb3b53 commit da6704fCopy full SHA for da6704f
luacheck2-lib/src/rules.rs
@@ -180,8 +180,8 @@ pub struct Context {
180
impl Context {
181
#[cfg(feature = "roblox")]
182
pub fn is_roblox(&self) -> bool {
183
- if let Some(meta) = self.standard_library.meta {
184
- meta.name == Some("roblox")
+ if let Some(ref meta) = self.standard_library.meta {
+ meta.name == Some("roblox".to_owned())
185
} else {
186
false
187
}
0 commit comments