questionThing 0.1.3

package to make input question stuff easier
Documentation
  • Coverage
  • 0%
    0 out of 2 items documented0 out of 1 items with examples
  • Size
  • Source code size: 3.4 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 989.3 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 13s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • 5quirre1/question-thing
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • 5quirre1

question-thing

uhh it's really simple actually LMFAO

so what it does is ask the input you give (first param) and if you don't give an input like just pressing enter, it prints out the 2nd param !! really simple but it can be useful i think LAWL


small example:

use peakrequests::{question};

fn main() {
	let s: String = question("put a name!!", "please put a name");
	if s.trim() != "" {
		println!("hai {}!!!", s.trim());
	} else {
		println!("where name how ?!?!? what");
	}
}