Skip to content

Commit b927e7f

Browse files
committed
Fix random typos
1 parent d987ab0 commit b927e7f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

crates/block2/src/traits.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ mod private {
2525
/// # Safety
2626
///
2727
/// This is a sealed trait, and should not need to be implemented. Open an
28-
/// issue if you know a use-case where this restrition should be lifted!
28+
/// issue if you know a use-case where this restriction should be lifted!
2929
pub unsafe trait BlockFn: private::Sealed<Self::Args, Self::Output> {
3030
/// The parameters/arguments to the block.
3131
type Args: EncodeArguments;
@@ -52,7 +52,7 @@ pub unsafe trait BlockFn: private::Sealed<Self::Args, Self::Output> {
5252
/// # Safety
5353
///
5454
/// This is a sealed trait, and should not need to be implemented. Open an
55-
/// issue if you know a use-case where this restrition should be lifted!
55+
/// issue if you know a use-case where this restriction should be lifted!
5656
pub unsafe trait IntoBlock<'f, A, R>: private::Sealed<A, R>
5757
where
5858
A: EncodeArguments,

crates/objc2/src/runtime/message_receiver.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ mod private {
363363
/// # Safety
364364
///
365365
/// This is a sealed trait, and should not need to be implemented. Open an
366-
/// issue if you know a use-case where this restrition should be lifted!
366+
/// issue if you know a use-case where this restriction should be lifted!
367367
pub unsafe trait MessageReceiver: private::Sealed + Sized {
368368
#[doc(hidden)]
369369
type __Inner: ?Sized + RefEncode;

0 commit comments

Comments
 (0)