mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 23:23:14 -04:00
chore: fix some typos in comments (#3635)
Signed-off-by: growfrow <growfrow@outlook.com>
This commit is contained in:
committed by
Kirill Chibisov
parent
c04c113e7e
commit
61bd8172bd
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user