Fixed example code.
This commit is contained in:
parent
5f8ab738a3
commit
530da47f0b
|
@ -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"
|
||||
```
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue