We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Version::source_dir
lib_name
1 parent c608fc5 commit cc1322cCopy full SHA for cc1322c
1 file changed
src/lib.rs
@@ -257,7 +257,7 @@ impl Build {
257
}
258
259
impl Version {
260
- fn source_dir(&self) -> &str {
+ fn source_dir(&self) -> &'static str {
261
match self {
262
Lua51 => "lua-5.1.5",
263
Lua52 => "lua-5.2.4",
@@ -266,7 +266,7 @@ impl Version {
266
267
268
269
- fn lib_name(&self) -> &str {
+ fn lib_name(&self) -> &'static str {
270
271
Lua51 => "lua5.1",
272
Lua52 => "lua5.2",
0 commit comments