Skip to content

Commit c2e6ff5

Browse files
authored
Fix typos in docstring for Restriction (#104)
1 parent 505a73c commit c2e6ff5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/types.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ end
8888
OpenStreetMap turn restriction (relation).
8989
9090
# Fields
91-
`T<:String`
91+
`T<:Union{Integer, String}`
9292
- `id::T`: OpenStreetMap relation id.
9393
- `type::String`: Either a `via_way` or `via_node` turn restriction.
9494
- `tags::AbstractDict{String,Any}`: Metadata tags.
@@ -97,7 +97,7 @@ OpenStreetMap turn restriction (relation).
9797
- `via_node::Union{T,Nothing}`: Node id at the centre of the turn restriction.
9898
- `via_way::Union{Vector{T},Nothing}`: Way id at the centre of the turn restriction.
9999
- `is_exclusion::Bool`: Turn restrictions such as `no_left_turn`, `no_right_turn` or `no_u_turn`.
100-
- `is_exclusive::Bool`: Turn restrictions such as `striaght_on_only`, `left_turn_only`, `right_turn_only`.
100+
- `is_exclusive::Bool`: Turn restrictions such as `straight_on_only`, `left_turn_only`, `right_turn_only`.
101101
"""
102102
@with_kw struct Restriction{T <: Union{Integer, String}}
103103
id::T

0 commit comments

Comments
 (0)