Skip to content

Commit

Permalink
Rename __topics to topics
Browse files Browse the repository at this point in the history
The underscores aren't really needed, the `topics` module is already
only available when documenting.
  • Loading branch information
madsmtm committed Apr 12, 2024
1 parent 41fa256 commit 66bcb9e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Needless to say, nothing is perfect, so if you think you've found a soundness
hole, please don't hesitate to report it on the [issue tracker]. Known
soundness holes (however theoretical) are tracked in the [`I-unsound`] label.

[layered-safety]: ./crates/objc2/src/__topics/layered_safety.md
[layered-safety]: ./crates/objc2/src/topics/layered_safety.md
[`I-unsound`]: https://github.com/madsmtm/objc2/labels/I-unsound
[issue tracker]: https://github.com/madsmtm/objc2/issues/new

Expand Down
8 changes: 4 additions & 4 deletions crates/objc2/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! # Objective-C interface and runtime bindings
//!
//! Quick links:
//! - [Topics][crate::__topics].
//! - [Topics][crate::topics].
//!
//! Objective-C was the standard programming language on Apple platforms like
//! macOS, iOS, iPadOS, tvOS and watchOS. It is an object-oriented language
Expand All @@ -18,7 +18,7 @@
//! introduction to how the safety in this crate works, and see [`icrate`] for
//! higher-level bindings to Apple's frameworks.
//!
//! [layered_safety]: crate::__topics::layered_safety
//! [layered_safety]: crate::topics::layered_safety
//! [`icrate`]: https://docs.rs/icrate/latest/icrate/
//!
//!
Expand Down Expand Up @@ -201,8 +201,6 @@ macro_rules! __hash_idents {

#[doc(hidden)]
pub mod __macro_helpers;
#[cfg(any(doc, doctest, test))]
pub mod __topics;
pub mod encode;
pub mod exception;
mod macros;
Expand All @@ -212,6 +210,8 @@ pub mod runtime;
#[cfg(test)]
mod test_utils;
mod top_level_traits;
#[cfg(any(doc, doctest, test))]
pub mod topics;
mod verify;

/// Deprecated location for a few things that are now in the [`runtime`]
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 66bcb9e

Please sign in to comment.