Rename lb_libx to lb_xlib

This commit is contained in:
2025-06-26 00:40:26 +10:00
parent da5acd6bc8
commit ba969b9e56
9 changed files with 60 additions and 56 deletions

View File

@@ -3,7 +3,7 @@
//!
//! # Exports
//!
//! See [`lb_libfs`] for items exported by this library.
//! See [`lb_fslib`] for items exported by this library.
use luaffi::{cdef, metatype};
use std::io;
use tokio::fs;
@@ -16,10 +16,10 @@ use tokio::fs;
/// local fs = require("lb:fs");
/// ```
#[cdef]
pub struct lb_libfs;
pub struct lb_fslib;
#[metatype]
impl lb_libfs {
impl lb_fslib {
#[new]
extern "Lua-C" fn new() -> Self {
Self