This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| defmodule Hello.Repo do | |
| use Ecto.Repo, | |
| otp_app: :hello, | |
| adapter: Ecto.Adapters.Postgres | |
| @doc """ | |
| Reverse a preload. | |
| ## Example |
This lesson aims to teach the reader about the inner-workings of Rust's *(deref operator)
and trait Deref, as well as how to take advantage of those features.
This lesson assumes that:
- You have amateurish understanding of Rust's type system. Most importantly, understand that
references are types, meaning
&T,&mut TandTare all different types.
OlderNewer