diff options
| author | Alexander Regueiro <alexreg@me.com> | 2019-01-11 16:32:31 +0000 |
|---|---|---|
| committer | Alexander Regueiro <alexreg@me.com> | 2019-01-13 19:47:02 +0000 |
| commit | 88336ea4c3c2d18f739d9dfcfdf5a4aa10eea861 (patch) | |
| tree | af89a6bc9e0999bf1a2d27f9f6978bd0d9b29c27 /src/test/rustdoc | |
| parent | 2cf736f76563f054aecd84207b39114c6fceb8ed (diff) | |
| download | rust-88336ea4c3c2d18f739d9dfcfdf5a4aa10eea861.tar.gz rust-88336ea4c3c2d18f739d9dfcfdf5a4aa10eea861.zip | |
Cosmetic improvements
Diffstat (limited to 'src/test/rustdoc')
| -rw-r--r-- | src/test/rustdoc/auxiliary/enum_primitive.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/test/rustdoc/auxiliary/enum_primitive.rs b/src/test/rustdoc/auxiliary/enum_primitive.rs index c265ae44f0d..eff47e8d8dd 100644 --- a/src/test/rustdoc/auxiliary/enum_primitive.rs +++ b/src/test/rustdoc/auxiliary/enum_primitive.rs @@ -19,7 +19,6 @@ // TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE // SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - //! This crate exports a macro `enum_from_primitive!` that wraps an //! `enum` declaration and automatically adds an implementation of //! `num::FromPrimitive` (reexported here), to allow conversion from @@ -52,7 +51,6 @@ //! } //! ``` - pub mod num_traits { pub trait FromPrimitive: Sized { fn from_i64(n: i64) -> Option<Self>; @@ -207,4 +205,3 @@ macro_rules! enum_from_primitive { enum_from_primitive_impl! { $name, $( $( $variant )+ )+ } }; } - |
