Skip to content

Commit 819b277

Browse files
committed
feat: fix positions and details
1 parent 69e980e commit 819b277

File tree

5 files changed

+24
-20
lines changed

5 files changed

+24
-20
lines changed

content/3.error-handling/1.option.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@ data:
66
type: 'custom'
77
topicLevel: 'start'
88
position:
9-
x: 255
10-
y: 520
9+
x: 320
10+
y: 580
1111
width: 320
1212
externalLinks:
1313
- name: 'Libro Oficial'
1414
english: false
1515
link: 'https://book.rustlang-es.org/ch06-01-defining-an-enum'
16-
- name: 'Documentacion Oficial'
16+
- name: 'Comprehensive Rust'
1717
english: false
1818
link: 'https://google.github.io/comprehensive-rust/es/std-types/option.html'
19-
- name: 'Comprehensive Rust'
19+
- name: 'Documentacion Oficial'
2020
english: true
21-
link: 'https://doc.rust-lang.org/std/option'
21+
link: 'https://doc.rust-lang.org/stable/std/option'
2222
- name: '¿Cómo almacena Rust los enum en memoria?'
2323
english: false
2424
link: 'https://blog.rustlang-es.org/articles/como-almacena-rust-los-enum-en-memoria'
@@ -46,7 +46,7 @@ enum Option<T> {
4646
Rust ofrece múltiples funciones para manipular opciones de forma segura:
4747

4848
- **is_some() e is_none():** Verifican si un `Option` contiene un valor o no.
49-
49+
5050
```rust
5151
let maybe_value: Option<i32> = Some(5);
5252
assert!(maybe_value.is_some());

content/3.error-handling/2.result.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
---
2-
title: 'Results'
2+
title: 'Result'
33
description: 'Result es una enumeración en Rust que se utiliza para representar valores que pueden fallar'
44
draft: true
55
data:
66
type: 'custom'
77
topicLevel: 'start'
88
position:
9-
x: 255
10-
y: 520
9+
x: 320
10+
y: 620
1111
width: 320
12+
sourcePosition:
13+
error-handling: 'bottom'
1214
externalLinks:
1315
- name: 'Libro Oficial'
1416
english: false

content/3.error-handling/3.propagation-operator.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ description: 'Mejorando el manejo de errores con el Operador de Propagación (`?
44
draft: true
55
data:
66
type: 'custom'
7-
topicLevel: 'start'
7+
topicLevel: 'medium'
88
position:
9-
x: 255
10-
y: 520
9+
x: 650
10+
y: 700
1111
width: 320
12+
sourcePosition:
13+
error-handling: 'left'
1214
externalLinks:
1315
- name: 'Libro Oficial'
1416
english: false

content/3.error-handling/index.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
---
21
title: 'Manejo de Errores'
32
description: ''
43
draft: true
54
data:
65
type: 'custom'
76
topicLevel: 'medium'
87
position:
9-
x: 300
10-
y: 600
8+
x: 390
9+
y: 700
1110
sourcePosition:
1211
basic: 'left'
13-
targetPosition:
12+
targetPosition:
13+
result: 'top'
1414
cargo: 'bottom'
15-
---
15+
propagation-operator: 'right'

content/4.cargo/index.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ data:
77
topicLevel: 'start'
88
position:
99
x: 200
10-
y: 700
10+
y: 750
1111
sourcePosition:
12-
error-handling: 'top'
13-
targetPosition:
12+
error-handling: 'right'
13+
targetPosition:
1414
traits: 'bottom'
1515
---
1616
# Titulo

0 commit comments

Comments
 (0)