Skip to content

Commit

Permalink
Document subsystem name structure
Browse files Browse the repository at this point in the history
  • Loading branch information
girstenbrei committed Jan 10, 2025
1 parent fcfacb1 commit 4602be1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/subsystem/subsystem_handle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,9 @@ impl<ErrType: ErrTypeTraits> SubsystemHandle<ErrType> {

/// Get the name associated with this subsystem.
///
/// Note that the names of nested subsystems are built unix-path alike,
/// starting and delimited by slashes (e.g. `/a/b/c`).
///
/// See [`SubsystemBuilder::new()`] how to set this name.
pub fn name(&self) -> &str {
&self.inner.name
Expand Down

0 comments on commit 4602be1

Please sign in to comment.