Man whispering to computers, using Rust. 💻
- Kastamonu, Turkey
-
01:08
(UTC +03:00) - in/samet-arik
Highlights
- Pro
Pinned Loading
-
-
-
-
-
Python's `input()` fn Implementation...
Python's `input()` fn Implementation in Rust 1use std::fmt::Display;
2use std::io::{stdin, stdout, Write};
34pub fn input(prompt: impl Display) -> Box<str> {
5let mut buffer = String::new();
-
Java like OOP Programming in Rust
Java like OOP Programming in Rust 1use std::fmt::Display;
2use std::io::{stdin, stdout, Write};
34struct Library;
5impl Library {
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.