Fixed example code.

This commit is contained in:
Tamás Kálcza 2022-03-21 12:48:29 +01:00
parent 5f8ab738a3
commit 530da47f0b
2 changed files with 2 additions and 2 deletions

View File

@ -49,5 +49,5 @@ media type.
```swift
MediaType.application(.other("vnd.efi.img")) // is equivalent to
"application/vnd.efi.img"
let mediaType: MediaType = "application/vnd.efi.img"
```

View File

@ -29,7 +29,7 @@ import Foundation
///
/// ```swift
/// MediaType.application(.other("vnd.efi.img")) // is equivalent to
/// "application/vnd.efi.img"
/// let mediaType: MediaType = "application/vnd.efi.img"
/// ```
public enum MediaType {
/// Creates an `application` media type.