Skip to content

Commit

Permalink
add clarifying comment
Browse files Browse the repository at this point in the history
  • Loading branch information
astraw committed Oct 6, 2022
1 parent 9fbf7a6 commit 770edec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/tz_macos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ mod string_ref {

pub(crate) struct StringRef<'a, T> {
string: CFStringRef,
// We exclude mutable access to the parent by taking a reference to the
// parent (rather than, for example, just using a marker to enforce the
// parent's lifetime).
_parent: &'a T,
}

Expand Down

0 comments on commit 770edec

Please sign in to comment.