From 651b0d5143b4df11ccb984c23394a41921971f1d Mon Sep 17 00:00:00 2001 From: Frank Steffahn Date: Tue, 13 Oct 2020 22:22:52 +0200 Subject: [PATCH] Reformatting --- src/lib.rs | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index a38b36f..ed183bd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,23 +1,20 @@ #![no_std] #![forbid(unsafe_code)] -/*! -[![crates.io]](https://crates.io/crates/transitive_from) -[![github]](https://github.com/steffahn/transitive_from) -[![MIT / Apache 2.0 licensed]](https://github.com/steffahn/transitive_from#License) -[![unsafe forbidden]](https://github.com/rust-secure-code/safety-dance/) - -Helper macros for creating hierarchies of transitive [`From`] implementations. - -Currently, this crate only consists of the [`transitive_from::hierarchy`](hierarchy) macro. - -[github]: https://img.shields.io/badge/github-steffahn/transitive__from-yellowgreen.svg -[crates.io]: https://img.shields.io/crates/v/transitive_from.svg -[MIT / Apache 2.0 licensed]: https://img.shields.io/crates/l/replace_with.svg -[docs.rs]: https://docs.rs/transitive_from/badge.svg -[unsafe forbidden]: https://img.shields.io/badge/unsafe-forbidden-success.svg -*/ - +//! [![crates.io]](https://crates.io/crates/transitive_from) +//! [![github]](https://github.com/steffahn/transitive_from) +//! [![MIT / Apache 2.0 licensed]](https://github.com/steffahn/transitive_from#License) +//! [![unsafe forbidden]](https://github.com/rust-secure-code/safety-dance/) +//! +//! Helper macros for creating hierarchies of transitive [`From`] implementations. +//! +//! Currently, this crate only consists of the [`transitive_from::hierarchy`](hierarchy) macro. +//! +//! [github]: https://img.shields.io/badge/github-steffahn/transitive__from-yellowgreen.svg +//! [crates.io]: https://img.shields.io/crates/v/transitive_from.svg +//! [MIT / Apache 2.0 licensed]: https://img.shields.io/crates/l/replace_with.svg +//! [docs.rs]: https://docs.rs/transitive_from/badge.svg +//! [unsafe forbidden]: https://img.shields.io/badge/unsafe-forbidden-success.svg /** Helper macro to create transitive [`From`] implementations.