Skip to content
This repository has been archived by the owner on Apr 20, 2024. It is now read-only.

Commit

Permalink
Loosen default implementation for Creatable's init
Browse files Browse the repository at this point in the history
  • Loading branch information
siemensikkema committed Mar 23, 2019
1 parent e024c2d commit 089b8c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Sugar/Helpers/Creatable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ extension Creatable {
/// extension below).
public protocol SelfCreatable: Creatable, Decodable {}

extension SelfCreatable {
extension Creatable where Create == Self {

/// See `Creatable`. Default implementation of `init` where the created value is directly
/// assigned to itself.
Expand Down

0 comments on commit 089b8c6

Please sign in to comment.