We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2085627 commit de2f1f4Copy full SHA for de2f1f4
src/naive/date/mod.rs
@@ -1200,9 +1200,11 @@ impl NaiveDate {
1200
/// or just feed it into `print!` and other formatting macros.
1201
/// (In this way it avoids the redundant memory allocation.)
1202
///
1203
- /// A wrong format string does *not* issue an error immediately.
1204
- /// Rather, converting or formatting the `DelayedFormat` fails.
1205
- /// You are recommended to immediately use `DelayedFormat` for this reason.
+ /// # Panics
+ ///
+ /// Converting or formatting the returned `DelayedFormat` panics if the format string is wrong.
1206
+ /// Because of this delayed failure, you are recommended to immediately use the `DelayedFormat`
1207
+ /// value.
1208
1209
/// # Example
1210
0 commit comments