Skip to content

Commit aa218e2

Browse files
committed
style: fix typos
1 parent 0c0d89e commit aa218e2

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/workflows/rust-build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ defaults:
3737
run:
3838
shell: bash
3939

40+
env:
41+
RUSTC_BOOTSTRAP: "1"
42+
4043
jobs:
4144
prepare:
4245
runs-on: ubuntu-latest

tuic-server/src/connection/handle_task.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ impl Connection {
242242
}
243243
_ = stream.shutdown().await;
244244

245-
let uuid = self.auth.get().ok_or_eyre("Unexpected autherization state")?;
245+
let uuid = self.auth.get().ok_or_eyre("Unexpected authorization state")?;
246246
restful::traffic_tx(&self.ctx, &uuid, tx);
247247
restful::traffic_rx(&self.ctx, &uuid, rx);
248248
if let Some(err) = err {
@@ -444,7 +444,7 @@ impl Connection {
444444
initial_addrs[0]
445445
};
446446

447-
let uuid = self.auth.get().ok_or_eyre("Unexpected autherization state")?;
447+
let uuid = self.auth.get().ok_or_eyre("Unexpected authorization state")?;
448448
restful::traffic_tx(&self.ctx, &uuid, pkt.len());
449449
if let Some(session) = session.upgrade() {
450450
session.send(pkt, socket_addr).await

tuic-server/tests/config/acl_parsing.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ allow localhost udp/53
33
allow localhost udp/53,tcp/80,tcp/443,udp/443
44
# which is equivalent to:
55
# allow localhost udp/53,tcp/80,443
6-
# if udp/tcp is omited, match both
6+
# if udp/tcp is omitted, match both
77
allow localhost 443
88
reject 10.6.0.0/16
99
allow google.com

0 commit comments

Comments
 (0)