Skip to content

Commit c5109c4

Browse files
kianmengjyn514
authored andcommitted
Fix typos
Found via `codespell -L crate,ser,statics,ot,te,ue,isnt,inout`
1 parent b0f5bb8 commit c5109c4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/db/migrate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ pub fn migrate(version: Option<Version>, conn: &mut Client) -> crate::error::Res
313313
// version
314314
9,
315315
// description
316-
"Allow max number of targets to be overriden",
316+
"Allow max number of targets to be overridden",
317317
// upgrade query
318318
"ALTER TABLE sandbox_overrides ADD COLUMN max_targets INT;",
319319
// downgrade query

src/utils/html.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ pub(crate) fn rewrite_lol(
4848
rustdoc_body_class.set_tag_name("div")?;
4949
// Prepend the tera content
5050
rustdoc_body_class.prepend(&tera_body, ContentType::Html);
51-
// Wrap the tranformed body and topbar into a <body> element
51+
// Wrap the transformed body and topbar into a <body> element
5252
rustdoc_body_class.before(r#"<body class="rustdoc-page">"#, ContentType::Html);
5353
// Insert the topbar outside of the rustdoc div
5454
rustdoc_body_class.before(&tera_rustdoc_topbar, ContentType::Html);

src/web/releases.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ pub fn search_handler(req: &mut Request) -> IronResult<Response> {
621621
// the crates.io API.
622622
// The whole point of the `paginate` design is that we don't
623623
// know anything about the pagination args and crates.io can
624-
// change them as they whish, so we cannot do any more checks here.
624+
// change them as they wish, so we cannot do any more checks here.
625625
warn!(
626626
"didn't get query args in `paginate` arguments for search: \"{}\"",
627627
query_params

0 commit comments

Comments
 (0)