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

Commit

Permalink
Merge pull request #94 from nodes-vapor/feature/improve-creatable
Browse files Browse the repository at this point in the history
Loosen default implementation for Creatable's init
  • Loading branch information
siemensikkema authored Mar 23, 2019
2 parents e024c2d + 089b8c6 commit 765bab6
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 765bab6

Please sign in to comment.