You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using 'Example 3' from the README give the errors:
error: argument never used
--> src/main.rs:10:38
|
10 | dtt_print!("Formatted time: {}", formatted_time);| ---------------------------------^^^^^^^^^^^^^^-
||||| argument never used
| formatting specifier missing
error[E0599]: no method named `format` found forstruct `DateTime`in the current scope
--> src/main.rs:9:30
|
9 |let formatted_time = now.format("%Y-%m-%d %H:%M:%S");| ^^^^^^ method not found in`DateTime`
For more information about this error, try `rustc --explain E0599`.
error: could not compile `dtt_testing` (bin "dtt_testing") due to 2 previous errors
Example 4 doesn't work either but I'm not looking for that feature.
A quick look through the code doesn't show the format() in the impl block.
Is this planned work that hasn't been completer yet or is this a remove feature?
Is there anything I could do help move this along?
Using 'Example 3' from the README give the errors:
Example 4 doesn't work either but I'm not looking for that feature.
A quick look through the code doesn't show the
format()
in the impl block.Versions
Cargo.toml
The text was updated successfully, but these errors were encountered: