fix a comment in UnsafeCell::new
This commit is contained in:
parent
5b3e909075
commit
dad327090a
1 changed files with 1 additions and 1 deletions
|
@ -1936,7 +1936,7 @@ impl<T> UnsafeCell<T> {
|
|||
/// Constructs a new instance of `UnsafeCell` which will wrap the specified
|
||||
/// value.
|
||||
///
|
||||
/// All access to the inner value through methods is `unsafe`.
|
||||
/// All access to the inner value through `&UnsafeCell<T>` requires `unsafe` code.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue