Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ch20 p469 of pdf missing escapes #3884

Open
ghenry opened this issue Apr 13, 2024 · 2 comments
Open

Ch20 p469 of pdf missing escapes #3884

ghenry opened this issue Apr 13, 2024 · 2 comments
Labels
2024-fix-nomination Print only Only applies to the dead tree version of the book

Comments

@ghenry
Copy link

ghenry commented Apr 13, 2024

  • I have searched open and closed issues and pull requests for duplicates, using these search terms:
    • ch20
    • ch 2-
  • I have checked the latest main branch to see if this has already been fixed, in this file:
    • html/md not affected

URL to the section(s) of the book with this problem:

Not affected on web/html version

Description of the problem:

on page 469

let response = format!(
    "{status_line}\r\n\
    Content-Length: {length}\r\n\r\n
    {contents}"
);

Suggested fix:

let response = format!(
    "{status_line}\r\n\
    Content-Length: {length}\r\n\r\n\
    {contents}"
);

needs the last escape like on page 468.

PDF is:

THE RUST PROGRAMMING LANGUAGE, 2ND EDITION. Copyright © 2023 by the Rust
Foundation and the Rust Project Developers.

All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means,
electronic or mechanical, including photocopying, recording, or by any information storage or retrieval
system, without the prior written permission of the copyright owner and the publisher.

Third printing
27 26 25 24 23
34567

ISBN-13: 978-1-7185-0310-6 (print)
ISBN-13: 978-1-7185-0311-3 (ebook)

Thanks.

@carols10cents carols10cents added Print only Only applies to the dead tree version of the book 2024-fix-nomination labels Apr 15, 2024
@carols10cents
Copy link
Member

Thanks, great catch! We'll get this fixed in the next print version.

@ghenry
Copy link
Author

ghenry commented Apr 15, 2024

No worries. Really enjoyed the eBook. Finished it last night. Thanks for writing it everyone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2024-fix-nomination Print only Only applies to the dead tree version of the book
Projects
None yet
Development

No branches or pull requests

2 participants