Skip to content

Instantly share code, notes, and snippets.

Avatar
💾
cmd+s

OleG. nerzh

💾
cmd+s
  • SPE
  • Ukraine
View GitHub Profile
View gist:fdcecc149d4905ef8c6979e8d0d46d32
struct S: Encodable {}
extension Encodable {
var nnn: Int { return 1 }
}
protocol B {
static func test<T: Encodable>(_ value: T) -> Int
}