Skip to content

Commit c496eaa

Browse files
marner2TysonMN
authored andcommitted
Remove redundant boxes
1 parent db0f4a6 commit c496eaa

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/Elmish.WPF/Binding.fs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ module Binding =
9191
/// Elemental instance of a one-way binding.
9292
let id<'a, 'msg> : string -> Binding<'a, 'msg> =
9393
OneWay.id
94-
|> BindingData.mapModel box
9594
|> createBinding
9695

9796
/// Creates a one-way binding to an optional value. The binding
@@ -114,7 +113,6 @@ module Binding =
114113
/// Elemental instance of a one-way-to-source binding.
115114
let id<'model, 'a> : string -> Binding<'model, 'a> =
116115
OneWayToSource.id
117-
|> BindingData.mapMsg unbox
118116
|> createBinding
119117

120118
/// Creates a one-way-to-source binding to an optional value. The binding
@@ -137,8 +135,6 @@ module Binding =
137135
/// Elemental instance of a two-way binding.
138136
let id<'a> : string -> Binding<'a, 'a> =
139137
TwoWay.id
140-
|> BindingData.mapModel box
141-
|> BindingData.mapMsg unbox
142138
|> createBinding
143139

144140
/// Creates a one-way-to-source binding to an optional value. The binding

0 commit comments

Comments
 (0)