Skip to content

Commit 45fcb26

Browse files
committed
💬 refactor: s/number/integer
1 parent 381c2da commit 45fcb26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/conversion.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ impl FromLua for char {
714714
_ => Err(Error::FromLuaConversionError {
715715
from: ty,
716716
to: Self::type_name(),
717-
message: Some("expected string or number".to_string()),
717+
message: Some("expected string or integer".to_string()),
718718
}),
719719
}
720720
}

0 commit comments

Comments
 (0)