Skip to content

Commit 74ef148

Browse files
committed
Fix typos in Provider API docs
1 parent b9f3bdf commit 74ef148

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/any.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
//! functions for requesting data from an object which implements `Provider`. Generally, end users
9595
//! should not call `request_*` directly, they are helper functions for intermediate implementers
9696
//! to use to implement a user-facing interface. This is purely for the sake of ergonomics, there is
97-
//! safety concern here; intermediate implementers can typically support methods rather than
97+
//! no safety concern here; intermediate implementers can typically support methods rather than
9898
//! free functions and use more specific names.
9999
//!
100100
//! Typically, a data provider is a trait object of a trait which extends `Provider`. A user will
@@ -1007,7 +1007,7 @@ mod tags {
10071007
type Reified = T;
10081008
}
10091009

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

0 commit comments

Comments
 (0)