Skip to content

Commit

Permalink
fix doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
drahnr committed Apr 22, 2023
1 parent eca11e8 commit ef8157a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
//! .pre_install_script("echo preinst")
//! .build_time(chrono::Utc::now())
//! .build_host(gethostname::gethostname().to_str().unwrap().to_string())
//! .add_changelog_entry("Max Mustermann <max@example.com>", "- was awesome, eh?", chrono::DateTime::parse_from_rfc2822("Wed, 19 April 2023 23:16:09 GMT"))
//! .add_changelog_entry("Charlie Yom <test2@example.com>", "- yeah, it was", chrono::DateTime::parse_from_rfc3339("1996-12-19T16:39:57-08:00"))
//! .add_changelog_entry("Max Mustermann <max@example.com>", "- was awesome, eh?", chrono::DateTime::parse_from_rfc2822("Wed, 19 April 2023 23:16:09 GMT").unwrap())
//! .add_changelog_entry("Charlie Yom <test2@example.com>", "- yeah, it was", chrono::DateTime::parse_from_rfc3339("1996-12-19T16:39:57-08:00").unwrap())
//! .requires(rpm::Dependency::any("wget"))
//! .vendor("corporation or individual")
//! .url("www.github.com/repo")
Expand Down

0 comments on commit ef8157a

Please sign in to comment.