main.rs
⎇
Raw
1// Leptos' empty `view! {}` (the "render nothing" idiom) expands to a unit
2// expression, which trips these two lints on the macro-generated code.
3#![allow(clippy::unit_arg, clippy::unused_unit)]
4
5mod api;
6mod app;
7mod cm;
8mod components;
9mod editor;
10mod i18n;
11mod icons;
12mod preview;
13mod router;
14mod theme;
15mod util;
16mod views;
17
18fn main() {
19 console_error_panic_hook::set_once();
20 leptos::mount::mount_to_body(app::App);
21}
22