We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aa59df8 + eafaba6 commit 743ba16Copy full SHA for 743ba16
src/items/associated-items.md
@@ -59,8 +59,8 @@ r[items.associated.fn.def]
59
An *associated function definition* defines a function associated with another
60
type. It is written the same as a [function item].
61
62
-An example of a common associated function is a `new` function that returns
63
-a value of the type the associated function is associated with.
+> [!NOTE]
+> A common example is an associated function named `new` that returns a value of the type with which it is associated.
64
65
```rust
66
struct Struct {
0 commit comments