Skip to content

Commit b4014c9

Browse files
committed
Improve naming
1 parent e439884 commit b4014c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/autorun-luajit/src/types/common.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,14 +380,14 @@ pub struct GCProto {
380380

381381
impl GCProto {
382382
pub fn chunk_name_str(&self) -> anyhow::Result<&str> {
383-
let gcstr = unsafe {
383+
let chunk_name = unsafe {
384384
self.chunkname
385385
.as_ptr::<GCstr>()
386386
.as_ref()
387387
.context("Failed to dereference chunk name GCstr")?
388388
};
389389

390-
gcstr.as_str()
390+
chunk_name.as_str()
391391
}
392392
}
393393

0 commit comments

Comments
 (0)