From 339da377d55d9027e2ea748e8a355700cbc347a2 Mon Sep 17 00:00:00 2001 From: SleepiCaffeine <106104408+SleepiCaffeine@users.noreply.github.com> Date: Mon, 19 Jun 2023 23:30:29 +0300 Subject: [PATCH] fixed comments --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9362d67..6dbf330 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ int main() { node* my_node = new node(10); // Creates a node with value 10, and points to nothing auto my_other_node = new node(20); // Creates a node with value 20, and points to nothing - my_node->set_next(my_other_node); // Now `myNode` points to `myOtherNode` + my_node->set_next(my_other_node); // Now `my_node` points to `my_other_node` std::cout << my_node->get_next()->get_data() << "\n"; // Output is 20 auto copy_node = node(*my_node);