Article demo code error?

docs

#1

hello,
I’ve read the article at ‘https://academy.realm.io/cn/posts/sommer-panage-writing-your-ui-swiftly/’ .
The demo code may be have an error .
This is the origin:
protocol DataLoading {
associatedtype DataLoading

var state: ViewState<Data> { get set }
var loadingView: loadingView { get }
var errorView: ErrorView { get }

func update()

}

And the right should be like this
protocol DataLoading {
associatedtype Data

var state: ViewState<Data> { get set }
var loadingView: loadingView { get }
var errorView: ErrorView { get }

func update()

}