Unverified Commit e2ba07f1 authored by Margatroid's avatar Margatroid Committed by GitHub
Browse files

fix:(lang/const): 修复 typo

应直接使用 b
parent 368f6908
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ int &r1 = a;
r1 = 1;
const int &r2 = a;
// r2 = 2; // 报错,不能通过常引用修改变量
// int &p3 = &b; // 报错,不能用普通引用指向 const 变量
// int &p3 = b; // 报错,不能用普通引用指向 const 变量
const int &r4 = b;
```