Skip to content

Commit 086df00

Browse files
committed
fix compiler error, and add /hist to robots.txt disallow
1 parent 1a6d584 commit 086df00

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Sources/SwiftinitServer/Endpoints/Interactive/Swiftinit.RobotsEndpoint.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ extension Swiftinit.RobotsEndpoint:PublicEndpoint
4747
User-agent: *
4848
Disallow: /admin/
4949
Disallow: /auth/
50+
Disallow: /hist/
5051
Disallow: /reference/
5152
Disallow: /telescope/
5253

Sources/SymbolGraphCompiler/Declarations/Compiler.Decl.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ extension Compiler.Decl
101101

102102
let language:Phylum.Language
103103
if case .swift = culture.language,
104-
case .c = symbol.language
104+
case .c = (copy symbol).language
105105
{
106106
language = .c
107107
}

0 commit comments

Comments
 (0)