<!DOCTYPE HTML> <html lang="en" class="no-js"> <head> <!-- Book generated using mdBook --> <meta charset="UTF-8"> <title>Outdated link: The Deref Trait Allows Access to the Data Through a Reference - The Rust Programming Language</title> <meta name="robots" content="noindex,follow"> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> <base href=""> <link rel="stylesheet" href="book.css"> <link href="https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800" rel="stylesheet" type="text/css"> <link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:500" rel="stylesheet" type="text/css"> <link rel="stylesheet" href="highlight.css"> <link rel="stylesheet" href="tomorrow-night.css"> <link rel="stylesheet" href="ayu-highlight.css"> <!-- Custom theme stylesheets --> </head> <body class="light"> <div id="page-wrapper" class="page-wrapper"> <div class="page"> <div id="content" class="content"> <main> <a class="header" href="ch15-02-deref.html#treating-smart-pointers-like-regular-references-with-the-deref-trait" id="treating-smart-pointers-like-regular-references-with-the-deref-trait"><h2>Treating Smart Pointers Like Regular References with the <code>Deref</code> Trait</h2></a> <p>The second edition of the book is no longer distributed with Rust's documentation.</p> <p>If you came here via a link or web search, you may want to check out <a href="../ch15-02-deref.html">the current version of the book</a> instead.</p> <p>If you have an internet connection, you can <a href="https://doc.rust-lang.org/1.30.0/book/second-edition/ch15-02-deref.html">find a copy distributed with Rust 1.30</a>.</p> </main> </div> </div> </div> </body> </html>