mirror of
https://github.com/google/comprehensive-rust.git
synced 2024-12-03 11:09:12 +02:00
Exclude imports and other boilerplate from page.
It was getting too long.
This commit is contained in:
parent
100341aa9f
commit
ac046661bf
@ -12,7 +12,6 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// ANCHOR: Example
|
||||
#![no_main]
|
||||
#![no_std]
|
||||
|
||||
@ -28,6 +27,7 @@ use gd32f1x0_hal::{
|
||||
prelude::*,
|
||||
};
|
||||
|
||||
// ANCHOR: Example
|
||||
#[entry]
|
||||
fn main() -> ! {
|
||||
let p = Peripherals::take().unwrap();
|
||||
|
Loading…
Reference in New Issue
Block a user