generated from tipragot/rust
Implement generic online system #82
|
@ -80,8 +80,7 @@ impl Connection {
|
||||||
path.push(".relay-data");
|
path.push(".relay-data");
|
||||||
|
|
||||||
// Check if the file exists.
|
// Check if the file exists.
|
||||||
match false {
|
match path.exists() {
|
||||||
// path.exists()
|
|
||||||
true => {
|
true => {
|
||||||
// Read the file and parse the identifier and secret key.
|
// Read the file and parse the identifier and secret key.
|
||||||
let contents = fs::read(&path)?;
|
let contents = fs::read(&path)?;
|
||||||
|
|
Loading…
Reference in a new issue