Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: export properly lib func #8

Merged
merged 1 commit into from
Sep 30, 2024
Merged

fix: export properly lib func #8

merged 1 commit into from
Sep 30, 2024

Conversation

Lsh0x
Copy link
Owner

@Lsh0x Lsh0x commented Sep 30, 2024

Refactor: Re-export functions for direct use

This pull request modifies the library's structure to allow functions to be used directly under the rs_stats namespace (e.g., rs_stats::average) instead of requiring users to navigate through modules (e.g., rs_stats::average::average).

This change improves the user experience by simplifying the import and usage of functions from the library.

The following modifications have been made:

  • Re-exporting functions: Functions are now re-exported from their respective modules in lib.rs.

This refactoring makes the library more intuitive and user-friendly, especially for users who are new to Rust's module system.

@Lsh0x Lsh0x merged commit fcc4584 into main Sep 30, 2024
10 checks passed
@Lsh0x Lsh0x deleted the fix/export_func branch September 30, 2024 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant