chore: fix some typos in comments (#3635)

Signed-off-by: growfrow <growfrow@outlook.com>
This commit is contained in:
growfrow 2024-04-27 21:29:11 +08:00 committed by GitHub
parent ec29c81ad2
commit 0fc8c37721
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 5 additions and 5 deletions

View file

@ -53,7 +53,7 @@ impl PanicInfo {
result
}
/// Overwrites the curret state if the current state is not panicking
/// Overwrites the current state if the current state is not panicking
pub fn set_panic(&self, p: Box<dyn Any + Send + 'static>) {
if !self.is_panicking() {
self.inner.set(Some(p));