Skip to content

Commit 234a33b

Browse files
authored
Remove type pirated promote_rule (#20)
* Remove type pirated promote_rule * Set project version to 0.2.1
1 parent aa7fa9a commit 234a33b

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "LazyJSON"
22
uuid = "fc18253b-5e1b-504c-a4a2-9ece4944c004"
33
license = "MIT"
4-
version = "0.2.0"
4+
version = "0.2.1"
55

66
[deps]
77
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"

src/SplicedStrings.jl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,6 @@ function splice_item(ss::SubString{SplicedString})
6161
[SubString(j_f, 1, j_i)])
6262
end
6363

64-
65-
#https://github.com/JuliaLang/julia/issues/26200
66-
Base.promote_rule(::Type{<:AbstractString},
67-
::Type{<:AbstractString}) = AbstractString
68-
6964
#https://github.com/JuliaLang/julia/issues/26202
7065
Base.nextind(s::SubString{SplicedString}, i::Int) = nextind(s.string, i)
7166
Base.prevind(s::SubString{SplicedString}, i::Int) = prevind(s.string, i)

0 commit comments

Comments
 (0)