How to tell Mojo that something is intended to be constant?
In mojo 24.1.0 (55ec12d6) I get a new warning:
'let' is being removed, please use 'var' instead
I think it is good practice to make explicity my intention that something is constant. How to I do that (in the future) since let is deprecated?
在Mojo 24.1.0 (55ec12d6 )中 我收到新警告:
'let ' 正在被删除,请使用'var ' 代替
我认为明确表达我的意图是一个很好的做法,即某些事物是恒定的。既然 let 已被弃用,我该如何(将来)做到这一点?