From 12df5c8a88b89f23159b516504188521807d97eb Mon Sep 17 00:00:00 2001
From: Siemen Sikkema <siemensikkema@users.noreply.github.com>
Date: Fri, 3 May 2019 23:59:39 +0200
Subject: [PATCH] Remove redundant access modifiers

---
 Sources/Flash/Extensions/Future+Flash.swift   | 2 +-
 Sources/Flash/Extensions/LeafTagConfig.swift  | 2 +-
 Sources/Flash/Extensions/Response+Flash.swift | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Sources/Flash/Extensions/Future+Flash.swift b/Sources/Flash/Extensions/Future+Flash.swift
index cbda35b..53aabae 100644
--- a/Sources/Flash/Extensions/Future+Flash.swift
+++ b/Sources/Flash/Extensions/Future+Flash.swift
@@ -1,7 +1,7 @@
 import Vapor
 
 public extension Future where T: Response {
-    public func flash(_ type: Flash.Kind, _ message: String) -> Future<Response> {
+    func flash(_ type: Flash.Kind, _ message: String) -> Future<Response> {
         return map(to: Response.self) { res in
             return res.flash(type, message)
         }
diff --git a/Sources/Flash/Extensions/LeafTagConfig.swift b/Sources/Flash/Extensions/LeafTagConfig.swift
index 19e5391..ff7f79c 100644
--- a/Sources/Flash/Extensions/LeafTagConfig.swift
+++ b/Sources/Flash/Extensions/LeafTagConfig.swift
@@ -1,7 +1,7 @@
 import Leaf
 
 public extension LeafTagConfig {
-    public mutating func useFlashLeafTags() {
+    mutating func useFlashLeafTags() {
         use(FlashTag(), as: "flash")
     }
 }
diff --git a/Sources/Flash/Extensions/Response+Flash.swift b/Sources/Flash/Extensions/Response+Flash.swift
index dc1eafd..dd3cf19 100644
--- a/Sources/Flash/Extensions/Response+Flash.swift
+++ b/Sources/Flash/Extensions/Response+Flash.swift
@@ -1,7 +1,7 @@
 import Vapor
 
 public extension Response {
-    public func flash(_ type: Flash.Kind, _ message: String) -> Response {
+    func flash(_ type: Flash.Kind, _ message: String) -> Response {
         if let container = try? privateContainer.make(FlashContainer.self) {
             container.flashes.append(.init(type, message))
         }