Skip to content

Commit f4b1e8c

Browse files
committed
chore: fix pre-commit errors
1 parent ca9f3cb commit f4b1e8c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

cot-site-macros/src/md_pages.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ use std::sync::Mutex;
44
use cot_site_common::md_pages::{FrontMatter, MdPage, MdPageHeadingAdapter, Section};
55
use proc_macro2::TokenStream;
66
use quote::quote;
7-
use syn::LitStr;
87
use syn::parse::{Parse, ParseStream};
8+
use syn::LitStr;
99

1010
pub(super) struct MdPageInput {
1111
pub(super) link: String,

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ use cot::response::{Response, ResponseExt};
99
use cot::router::{Route, Router};
1010
use cot::static_files::StaticFilesMiddleware;
1111
use cot::{
12-
AppBuilder, Body, BoxedHandler, ProjectContext, StatusCode, reverse_redirect, static_files,
12+
reverse_redirect, static_files, AppBuilder, Body, BoxedHandler, ProjectContext, StatusCode,
1313
};
1414
use cot_site_common::md_pages::{MdPage, MdPageLink, Section};
1515
use cot_site_macros::md_page;
16-
use rinja::Template;
1716
use rinja::filters::{HtmlSafe, Safe};
17+
use rinja::Template;
1818

1919
use crate::guides::{get_prev_next_link, parse_guides};
2020

src/md-pages/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ Please use [cot-site GitHub repository issue tracker](https://github.com/cot-rs/
6565
Yes! Here are some articles and videos about Cot:
6666

6767
* [Cot framework aims to ease Rust web development](https://www.infoworld.com/article/3832992/cot-framework-aims-to-ease-rust-web-development.html) on [InfoWorld](https://www.infoworld.com/)
68-
* [Welcome, Cot: the Rust web framework for lazy developers](https://mackow.ski/blog/cot-the-rust-web-framework-for-lazy-developers/) on [Mateusz Maćkowski's blog](https://mackow.ski/) _(written by us)_
68+
* [Welcome, Cot: the Rust web framework for lazy developers](https://mackow.ski/blog/cot-the-rust-web-framework-for-lazy-developers/) on [Mateusz Maćkowski's blog](https://mackow.ski/) _(written by us)_

0 commit comments

Comments
 (0)