Skip to content

Commit da6704f

Browse files
committed
Fix issue that apparently wasn't caught by cargo check
1 parent 2fb3b53 commit da6704f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

luacheck2-lib/src/rules.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ pub struct Context {
180180
impl Context {
181181
#[cfg(feature = "roblox")]
182182
pub fn is_roblox(&self) -> bool {
183-
if let Some(meta) = self.standard_library.meta {
184-
meta.name == Some("roblox")
183+
if let Some(ref meta) = self.standard_library.meta {
184+
meta.name == Some("roblox".to_owned())
185185
} else {
186186
false
187187
}

0 commit comments

Comments
 (0)