Skip to content

Commit

Permalink
Fixed "Safety" capitalization in docstrings.
Browse files Browse the repository at this point in the history
  • Loading branch information
JRRudy1 committed Jun 19, 2024
1 parent 90ee5c1 commit a9cea12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/transient.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ pub unsafe trait Transient: Sized {
/// See the [`Transient`] trait's docstring for examples and a discussion of
/// the considerations necessary for defining the type in various cases.
///
/// # SAFETY
/// # Safety
/// This must be equivalent to the implementing type, such that matching its
/// [`TypeId`] to that of a `dyn Any` trait objects is sufficient justification
/// for performing a [`std::mem::transmute`] or raw pointer cast to it
Expand All @@ -266,7 +266,7 @@ pub unsafe trait Transient: Sized {
///
/// See the [`Transience`] docstring for a thorough explanation and examples.
///
/// # SAFETY
/// # Safety
/// This type must sufficiently capture the _variance_ characteristics of the
/// type with respect to every one of its lifetime parameters as discussed in
/// the documentation for the trait.
Expand Down

0 comments on commit a9cea12

Please sign in to comment.