From 7d02467dcd7a34e8b057f204a0859c82d87ac764 Mon Sep 17 00:00:00 2001 From: Kjetil Kjeka Date: Sun, 11 Jun 2017 12:51:41 +0200 Subject: [PATCH] Build fails due to an unused field, allow warnings to get the crate to build --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 1de69fd..1cc16b0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,4 @@ -# ! [ doc = "Peripheral access API for S32K144 microcontrollers (generated using svd2rust v0.9.1)\n\nYou can find an overview of the API [here].\n\n[here]: https://docs.rs/svd2rust/0.9.1/svd2rust/#peripheral-api" ] # ! [ deny ( missing_docs ) ] # ! [ deny ( warnings ) ] # ! [ allow ( non_camel_case_types ) ] # ! [ feature ( const_fn ) ] # ! [ feature ( optin_builtin_traits ) ] # ! [ no_std ]extern crate cortex_m ; +# ! [ doc = "Peripheral access API for S32K144 microcontrollers (generated using svd2rust v0.9.1)\n\nYou can find an overview of the API [here].\n\n[here]: https://docs.rs/svd2rust/0.9.1/svd2rust/#peripheral-api" ] # ! [ deny ( missing_docs ) ] # ! [ allow ( non_camel_case_types ) ] # ! [ feature ( const_fn ) ] # ! [ feature ( optin_builtin_traits ) ] # ! [ no_std ]extern crate cortex_m ; extern crate vcell ; use core::ops::Deref; use cortex_m::peripheral::Peripheral;