Skip to content

Commit 0c39a0b

Browse files
authored
Merge branch 'master' into dependabot/cargo/rust-dependencies-064328bd20
2 parents 20b5e92 + e3875e2 commit 0c39a0b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/spell-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ jobs:
1616
- name: Checkout Actions Repository
1717
uses: actions/checkout@v5
1818
- name: Spell Check Repo
19-
uses: crate-ci/typos@v1.36.2
19+
uses: crate-ci/typos@v1.37.0

clash-lib/src/app/api/handlers/dns.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ pub fn routes(resolver: ThreadSafeDNSResolver) -> Router<Arc<AppState>> {
2727
}
2828

2929
#[derive(Deserialize)]
30-
struct DnsQUery {
30+
struct DnsQuery {
3131
name: String,
3232
#[serde(rename = "type")]
3333
typ: String,
3434
}
3535

3636
async fn query_dns(
3737
State(state): State<DNSState>,
38-
q: Query<DnsQUery>,
38+
q: Query<DnsQuery>,
3939
) -> impl IntoResponse {
4040
if let crate::app::dns::ResolverKind::System = state.resolver.kind() {
4141
return (StatusCode::BAD_REQUEST, "Clash resolver is not enabled.")

0 commit comments

Comments
 (0)