From 7795c73d385a754d64b27fbebc773b98509fb081 Mon Sep 17 00:00:00 2001 From: Him188 Date: Thu, 3 Sep 2020 22:29:18 +0800 Subject: [PATCH] Fix typo --- docs/PluginData.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/PluginData.md b/docs/PluginData.md index 234507be9..0ca35b8ca 100644 --- a/docs/PluginData.md +++ b/docs/PluginData.md @@ -98,7 +98,7 @@ object MyData : AutoSavePluginData() { val value2 by value() // 推断为 Int val value3 by value(0) // 默认值为 0, 推断为 Int var value3 by value(0) // 支持 var,修改会自动保存 - val value1: Int by value() // 显示类型和推断类型,你喜欢哪种? + val value1: Int by value() // 显式类型和推断类型,你喜欢哪种? val value4: List by value() // 支持 List,Set val value4: MutableList by value() // 可按需使用 Mutable 类型 val value5: List> by value() // 支持嵌套