Change "scheme" to "schema"
Apparently I misread the GraphQL docs...
This commit is contained in:
parent
5011514a27
commit
298a8a5653
5 changed files with 5 additions and 5 deletions
14
schema/src/lib.rs
Normal file
14
schema/src/lib.rs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
pub fn add(left: usize, right: usize) -> usize {
|
||||
left + right
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
fn it_works() {
|
||||
let result = add(2, 2);
|
||||
assert_eq!(result, 4);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue