-
Notifications
You must be signed in to change notification settings - Fork 18
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
Audit all exposed APIs to determine if they should actually be private #234
Comments
AntonyBlakey
changed the title
Audit all exposed APIs to dtermine if they should actually be private
Audit all exposed APIs to determine if they should actually be private
Dec 20, 2022
Closed
github-merge-queue bot
pushed a commit
that referenced
this issue
Aug 10, 2023
Not touching the grammar definition-related code since that's about to be changed by https://github.com/AntonyBlakey/slang/tree/AntonyBlakey/to_rust_types. Somewhat related to #234, I noticed that we have public extension traits that seem to only work with the `LanguageDefinition` type. Maybe we should change these one-function traits to free functions that accept the language definition as the argument, instead? Also not feeling strongly about 84912e8, thought it's more of a nice-to-have.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can we generate (and check in/source version) them?
rustdoc
JSON output: Tracking issue for RFC 2963: rustdoc JSON backend rust-lang/rust#76578typedoc
JSON output: https://typedoc.org/options/output/#jsonwit-bindgen markdown --html-in-md
CLI optionExample snapshot from Kotlin: https://github.com/ktorio/ktor/blob/58f2fa99c24a861e943bf686c6a6b31c6c9dbf7b/ktor-http/api/ktor-http.api
Questions
allow(unused_imports)
in the codebase? It is a good way to make sure that any publicly exposed APIs are covered with at least one simple/basic test.clippy::must_use_candidate
(which we currently disable globally)?readonly
? they are mutable by default.The text was updated successfully, but these errors were encountered: