Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ let package = Package(
name: "SignpostOutput",
description: "Enables `OSSignposter` output from the QUIC implementation."
),
.default(enabledTraits: []),
//.default(enabledTraits: []),
Comment thread
agnosticdev marked this conversation as resolved.
.default(enabledTraits: ["DisableDebugLogging", "DisableErrorLogging"]),
],
dependencies: packageDependencies,
targets: [
Expand Down
4 changes: 4 additions & 0 deletions Sources/SwiftNetwork/Protocols/FrameArray.swift
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ public struct FrameArray: ~Copyable {
}
}

public mutating func prepend(frame: consuming Frame) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The body of this function should just be

        self.frames.prepend(frame)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, that is much better! Addressed ine8166d2

self.frames.prepend(frame)
}

public var count: Int {
frames.count
}
Expand Down
Loading
Loading