Skip to content

Commit d1a5864

Browse files
authored
Remove Unicode (#2656)
1 parent e99dff8 commit d1a5864

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

Project.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
1818
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
1919
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
2020
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
21-
Unicode = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"
2221

2322
[compat]
2423
BenchmarkTools = "1"
@@ -37,7 +36,6 @@ Printf = "<0.0.1, 1.6"
3736
SparseArrays = "<0.0.1, 1.6"
3837
SpecialFunctions = "0.8, 1, 2"
3938
Test = "<0.0.1, 1.6"
40-
Unicode = "<0.0.1, 1.6"
4139
julia = "1.6"
4240

4341
[extras]

src/Utilities/Utilities.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import MathOptInterface as MOI
1111
import MutableArithmetics as MA
1212
import OrderedCollections: OrderedDict
1313
import SparseArrays
14-
import Unicode
1514

1615
function print_with_acronym(io::IO, s::AbstractString)
1716
return print(io, replace_acronym(s))

src/Utilities/struct_of_constraints.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ end
214214
_typed(s::SymbolFS) = s.typed ? Expr(:curly, esc(s.s), esc(:T)) : esc(s.s)
215215

216216
function _field(s::SymbolFS)
217-
return Symbol(replace(Unicode.lowercase(string(s.s)), "." => "_"))
217+
return Symbol(replace(lowercase(string(s.s)), "." => "_"))
218218
end
219219

220220
# Represents a union of function or set types

0 commit comments

Comments
 (0)