Developer: Jaya Khan
This program removes a node from the front of the singly linked list. It does this first by taking the current head of the list and then calls map method to update the head of the list to point to the next node.
The code was tested on:
- rust edition = 2021
remove-front
├── Cargo.toml
├── README.md
├── src
├── main.rs
├── .github
├── workflows
├── lint.yml
├── release.yml
├── rustfmt.yml
├── tests.yml
├── Makefile
-
sudo apt install curl
-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
-
source $HOME/.cargo/env
rustc --version
rustup self uninstall
make all