Skip to content

Commit 94f3a5c

Browse files
committed
Fix the spelling of "panicking" at two points in the docs.
1 parent 7c0c2c9 commit 94f3a5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

googletest/src/assertions.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ macro_rules! fail {
302302
() => { fail!("Test failed") };
303303
}
304304

305-
/// Matches the given value against the given matcher, panicing if it does not
305+
/// Matches the given value against the given matcher, panicking if it does not
306306
/// match.
307307
///
308308
/// This is analogous to assertions in most Rust test libraries, where a failed
@@ -322,7 +322,7 @@ macro_rules! assert_that {
322322
}
323323

324324
/// Asserts that the given predicate applied to the given arguments returns
325-
/// true, panicing if it does not.
325+
/// true, panicking if it does not.
326326
#[macro_export]
327327
macro_rules! assert_pred {
328328
($($content:tt)*) => {

0 commit comments

Comments
 (0)