Call it library not module

This commit is contained in:
2025-06-25 20:13:09 +10:00
parent a81271c0a8
commit 530a1530ba
4 changed files with 26 additions and 12 deletions

View File

@@ -1,15 +1,15 @@
//! The `lb:fs` module provides utilities for interacting with the file system asynchronously.
//! The `lb:fs` library provides utilities for interacting with the file system asynchronously.
//!
//! # Exports
//!
//! See [`lb_libfs`] for items exported by this module.
//! See [`lb_libfs`] for items exported by this library.
use luaffi::{cdef, metatype};
use std::io;
use tokio::fs;
/// Items exported by the `lb:fs` module.
/// Items exported by the `lb:fs` library.
///
/// This module can be obtained by calling `require` in Lua.
/// This library can be obtained by calling `require` in Lua.
///
/// ```lua
/// local fs = require("lb:fs");