Skip to content

Commit

Permalink
Remove redundant boxes
Browse files Browse the repository at this point in the history
  • Loading branch information
marner2 committed Sep 9, 2022
1 parent a4307ca commit 5fc7dd6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Elmish.WPF/Binding.fs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ module Binding =
/// Elemental instance of a one-way binding.
let id<'a, 'msg> : string -> Binding<'a, 'msg> =
OneWay.id
|> BindingData.mapModel box
|> createBinding

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

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

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

0 comments on commit 5fc7dd6

Please sign in to comment.