Skip to content

Commit c54b4c6

Browse files
committed
update
1 parent 9d6dded commit c54b4c6

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,10 @@
22
name = "scanner"
33
version = "0.1.0"
44
edition = "2021"
5+
authors = ["Luís Góis <ShellTux@Github"]
6+
description = "Scanner is a simple utility to parse strings, numbers, ..."
7+
license = "MIT"
8+
readme = "./README.md"
9+
keywords = ["scanner"]
510

611
[dependencies]

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use scanner::scanner::Scanner;
44
fn main() {
55
let input = "-8 + 9";
66

7-
let mut scanner = Scanner::new(&input);
7+
let mut scanner = Scanner::new(input);
88

99
let x: isize = scanner.next_number().expect("Expecting number");
1010
let op = scanner.next_word().expect("Expecting word");

0 commit comments

Comments
 (0)