projects
/
Mitarbeiter
/
Tim-Zeitz
/
stud-rust-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
restructure and add documentation
[Mitarbeiter/Tim-Zeitz/stud-rust-base.git]
/
src
/
types.rs
diff --git
a/src/types.rs
b/src/types.rs
index bb11a001e5cdaecb4c2b8ef3a65c8696ba9ac2c2..b10ba13729e1571c2f518330c54359f230b85083 100644
(file)
--- a/
src/types.rs
+++ b/
src/types.rs
@@
-1,10
+1,6
@@
use std;
-#[allow(dead_code)]
pub type NodeId = u32;
-#[allow(dead_code)]
pub type EdgeId = u32;
-#[allow(dead_code)]
pub type Weight = u32;
-#[allow(dead_code)]
pub const INFINITY: Weight = std::u32::MAX / 2;