in-toto / in-toto-rs

A rust implementation of in-toto
MIT License
32 stars 14 forks source link

Fix link in metadata.rs doc comment #45

Closed danbev closed 1 year ago

danbev commented 1 year ago

Currently the following warning is generated when running cargo rustdoc:

$ cargo rustdoc
 Documenting in-toto v0.3.0 (/home/danielbevenius/work/security/in-toto-rs)
warning: this URL is not a hyperlink
 --> src/models/metadata.rs:8:38
  |
8 | //! The reason please refer to issue
  |  https://github.com/in-toto/in-toto-rs/issues/33
  |  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic
  |  link instead: `<https://github.com/in-toto/in-toto-rs/issues/33>`
  |
  = note: `#[warn(rustdoc::bare_urls)]` on by default
  = note: bare URLs are not automatically turned into clickable link

Signed-off-by: Daniel Bevenius daniel.bevenius@gmail.com

adityasaky commented 1 year ago

Test error was fixed in #46, merging. Thanks!