Skip to content

ch04-02「関数の引数に参照を取ることを借用と呼びます」について #241

@aoyama-val

Description

@aoyama-val

関数の引数に参照を取ることを借用と呼びます。
https://doc.rust-jp.rs/book-ja/ch04-02-references-and-borrowing.html

原文は

We call the action of creating a reference borrowing.
https://doc.rust-lang.org/book/ch04-02-references-and-borrowing.html
(参照を作ることを借用と呼びます)

となっています。
実際、関数の引数だけでなく

let r = &a;

のようなのも借用と呼ぶので修正が必要と思います。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions