Skip to content

Commit 38b4bba

Browse files
authored
remove Markdown dep (#189)
1 parent 94441d0 commit 38b4bba

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Project.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
1010
InverseFunctions = "3587e190-3f89-42d0-90ee-14403ec27112"
1111
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1212
MacroTools = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09"
13-
Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a"
1413
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
1514
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1615

@@ -44,7 +43,6 @@ IntervalSets = "0.7"
4443
InverseFunctions = "0.1.5"
4544
LinearAlgebra = "1"
4645
MacroTools = "0.5"
47-
Markdown = "1"
4846
Requires = "0.5, 1.0"
4947
StaticArrays = "1"
5048
StructArrays = "0.6, 0.7"

src/Accessors.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ module Accessors
22
using MacroTools
33
using MacroTools: isstructdef, splitstructdef, postwalk
44
using InverseFunctions
5-
using Markdown: Markdown, @md_str, term
65

76
if !isdefined(Base, :get_extension)
87
using Requires
@@ -30,7 +29,7 @@ function __init__()
3029
Base.Experimental.register_error_hint(MethodError) do io, exc, argtypes, kwargs
3130
if exc.f === insert && argtypes[2] <: Accessors.DynamicIndexLens
3231
println(io)
33-
term(io, md"""
32+
print(io, """
3433
`insert` with a `DynamicIndexLens` is not supported, this can happen when you write
3534
code such as `@insert a[end] = 1` or `@insert a[begin] = 1` since `end` and `begin`
3635
are functions of `a`. The reason we do not support these with `insert` is that

0 commit comments

Comments
 (0)