Skip to content

rs port: update all docs for using the new Handle API. #595

@fahdfady

Description

@fahdfady

📚 Documentation

we exposed a new API Handle via this issue #589
now, the function signatures and usages are changed. we need to update the documentation, this for example:

/// Loads a file from a single file. Usage example: ...
/// ```
/// // A Nodejs path
/// metacall::load::from_single_file("node", "index.js").unwrap();
/// ```
pub fn from_single_file(
tag: Tag,
path: impl AsRef<Path>,
handle: Option<&mut Handle>,
) -> Result<(), MetaCallLoaderError> {

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationUpdates or improvements to the documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions