🐛 fix(vscode): Rust 库规则只经契约和同目录共用代码

This commit is contained in:
cruldra committed 2026-10-04 14:42:46 +08:00
1 parent 340c81084a
commit 13e71507d6
12 files changed
+244 -242

No files matched your search

+1 -2
View File
@@ -1,6 +1,5 @@
import type { CodeBlock, Inline, KindBadge, LibraryRule, Node, PropertyRow, RuleCard, ThemeColor } from '../contract'
import { commentPlain, firstSentence, macroInvocation, oneLine, stringContent } from '../languages/rust'
import { named } from '../languages/shared'
import { commentPlain, firstSentence, macroInvocation, named, oneLine, stringContent } from './rustTree'
/** 查询卡用字符串那种橙。 */
const COLOR: ThemeColor = { dark: '#ce9178', light: '#a31515' }