Code error in Chapter 3

<From version 1.0.2>

In the section “Flattening Publishers”, exampleOf(“flatMap”), item 3 is listed as

// 3
chat
    .sink(receiveValue: { print($0.message.value) })
    .store(in: &subscriptions)

However to produce the output later described as saying, for example, “Charlotte wrote: Hi, I’m Charlotte!”, it should read

// 3
chat
    .sink( receiveValue: { print($0.name, "wrote:", $0.message.value) })
    .store(in: &subscriptions)

@landymagma77 Thank you for the heads up - much appreciated! I will forward this to the book team and they will definitely fix this in the next update of the book.