提交 ee02c6c6 authored 作者: Serhij S's avatar Serhij S

must use guards

上级 754e1c93
...@@ -680,6 +680,7 @@ pub struct SystemConfig { ...@@ -680,6 +680,7 @@ pub struct SystemConfig {
impl SystemConfig { impl SystemConfig {
/// Creates a new system config object /// Creates a new system config object
#[must_use]
pub fn new() -> Self { pub fn new() -> Self {
Self::default() Self::default()
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论