Skip to content

Commit

Permalink
Rollup merge of #97979 - ben0x539:providerdocs, r=Dylan-DPC
Browse files Browse the repository at this point in the history
Fix typos in Provider API docs
  • Loading branch information
Dylan-DPC committed Jun 11, 2022
2 parents 825d280 + 74ef148 commit 54d7b3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/core/src/any.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
//! functions for requesting data from an object which implements `Provider`. Generally, end users
//! should not call `request_*` directly, they are helper functions for intermediate implementers
//! to use to implement a user-facing interface. This is purely for the sake of ergonomics, there is
//! safety concern here; intermediate implementers can typically support methods rather than
//! no safety concern here; intermediate implementers can typically support methods rather than
//! free functions and use more specific names.
//!
//! Typically, a data provider is a trait object of a trait which extends `Provider`. A user will
Expand Down Expand Up @@ -1007,7 +1007,7 @@ mod tags {
type Reified = T;
}

/// Type-based tag similar to [`Value`] but which may be unsized (i.e., has a `'Sized` bound).
/// Type-based tag similar to [`Value`] but which may be unsized (i.e., has a `?Sized` bound).
#[derive(Debug)]
pub struct MaybeSizedValue<T: ?Sized + 'static>(PhantomData<T>);

Expand Down

0 comments on commit 54d7b3f

Please sign in to comment.